Skip to content

Commit

Permalink
Merge pull request #61 from GeoffreyChen777/electron-dev
Browse files Browse the repository at this point in the history
+ fix menu animation
  • Loading branch information
GeoffreyChen777 authored Apr 11, 2022
2 parents 999f167 + 0cb3288 commit 840ac8a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ textarea {
background-color: var(--q-bg-primary);
}

.q-item .q-focus-helper {
visibility: hidden;
}

@import './list-view';
@import './table-view';
@import './toolbar';
Expand Down
4 changes: 4 additions & 0 deletions src/css/list-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,7 @@
line-height: 0.95rem;
font-weight: 400;
}

.list-item .q-focus-helper {
visibility: hidden;
}
8 changes: 7 additions & 1 deletion src/css/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
border: solid 1px var(--q-secondary);
background-color: var(--q-menu-bg);
border-radius: 6px;
transition: all 0.1s ease-in-out;
transition: none !important;
}

.menu-list {
Expand All @@ -19,6 +19,11 @@
padding-left: 10px !important;
padding-right: 10px !important;
font-size: 0.9em;
transition: none !important;
}

.menu-list-item .q-focus-helper {
transition: none !important;
}

.menu-list hr {
Expand All @@ -30,3 +35,4 @@
color: var(--q-menu-shortcut);
text-align: right;
}

4 changes: 4 additions & 0 deletions src/css/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@
padding-left: 7px;
padding-right: 7px;
}

.sidebar-list .q-focus-helper {
visibility: hidden;
}

0 comments on commit 840ac8a

Please sign in to comment.