mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Improved sidebar tab switching performance.
Pretty much no lag now. Fixes #365.
This commit is contained in:
@@ -25,9 +25,11 @@ paper-icon-button[disabled] {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
/* This stops transitions from overflowing onto other elements. */
|
||||
html /deep/ core-animated-pages {
|
||||
overflow: hidden;
|
||||
/* This speeds up tab switching. The 1px height is so that core-list children
|
||||
don't complain about not having a height set. */
|
||||
core-animated-pages::shadow ::content > *:not(.core-selected):not([animate]) {
|
||||
display: block !important;
|
||||
height: 1px;
|
||||
}
|
||||
/* This makes checkboxes have the same padding as icons in lists. */
|
||||
html /deep/ core-menu paper-checkbox::shadow #checkboxLabel {
|
||||
|
||||
@@ -225,6 +225,7 @@ paper-item > a:hover {
|
||||
}
|
||||
#filters {
|
||||
padding: 8px 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
#filters > * {
|
||||
padding: 0 16px;
|
||||
|
||||
Reference in New Issue
Block a user