mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Improved width partitioning.
Sidebar now gets 33%, content the rest. The sidebar also no longer changes size when the filters are displayed. Part of #132.
This commit is contained in:
@@ -112,7 +112,8 @@ header li.disabled {
|
||||
}
|
||||
nav {
|
||||
height: 100%;
|
||||
min-width: 20em;
|
||||
width: 33%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
nav > ol {
|
||||
padding-left: 1em;
|
||||
@@ -124,10 +125,6 @@ nav > ol > li:nth-child(3) {
|
||||
overflow: auto;
|
||||
padding: 0;
|
||||
}
|
||||
#pluginsNav {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
nav li:not(:last-child) {
|
||||
padding: 0.5em 0.5em;
|
||||
}
|
||||
@@ -144,6 +141,8 @@ nav a {
|
||||
width: 100%;
|
||||
}
|
||||
#pluginsNav {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -162,9 +161,6 @@ nav a {
|
||||
}
|
||||
main {
|
||||
overflow: auto;
|
||||
flex-shrink: 10;
|
||||
flex-grow: 1;
|
||||
/*-webkit-perspective: 1000;*/
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user