Cleaned up CSS for settings page

This commit is contained in:
nizune 2021-08-02 17:55:49 +02:00
parent 03f572f365
commit df39b1fc2b

View file

@ -122,24 +122,16 @@
.sidebar { .sidebar {
flex: 1 0 218px; flex: 1 0 218px;
display: flex; display: flex;
flex-shrink: 0;
overflow-y: scroll; overflow-y: scroll;
justify-content: flex-end; justify-content: flex-end;
background: var(--secondary-background); background: var(--secondary-background);
display: flex;
-webkit-box-flex: 1;
-webkit-box-pack: end;
justify-content: flex-end;
.container { .container {
width: 218px; min-width: 218px;
padding: 80px 8px; padding: 80px 8px;
height: fit-content;
display: flex; display: flex;
gap: 2px; gap: 2px;
flex-direction: column; flex-direction: column;
visibility: visible;
} }
.divider { .divider {
@ -172,15 +164,12 @@
text-decoration: underline; text-decoration: underline;
} }
} }
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
} }
.content { .content {
flex: 1 1 800px; flex: 1 1 800px;
display: flex; display: flex;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden;
.scrollbox { .scrollbox {
display: flex; display: flex;
@ -190,11 +179,10 @@
.contentcontainer { .contentcontainer {
display: flex; display: flex;
gap: 13px; gap: 13px;
height: max-content; height: fit-content;
max-width: 740px; max-width: 740px;
padding: 80px 2em; padding: 80px 2em;
width: 100%; width: 100%;
visibility: visible;
flex-direction: column; flex-direction: column;
} }
@ -243,10 +231,8 @@
} }
.action { .action {
flex: 1; flex-grow: 1;
flex-shrink: 0;
padding: 80px 8px; padding: 80px 8px;
color: var(--tertiary-background);
visibility: visible; visibility: visible;
position: sticky; position: sticky;
top: 0; top: 0;
@ -288,10 +274,6 @@
transform: translateY(2px); transform: translateY(2px);
} }
} }
> div {
display: inline;
}
} }
section { section {