forked from abner/for-legacy-web
Fix: Make settings not jump around.
Fix: Auto-complete font size.
This commit is contained in:
@@ -330,8 +330,10 @@ const Base = styled.div`
|
||||
padding: 6px;
|
||||
border: none;
|
||||
display: flex;
|
||||
font-size: 1em;
|
||||
cursor: pointer;
|
||||
border-radius: 6px;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
background: transparent;
|
||||
color: var(--foreground);
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
background: var(--primary-background);
|
||||
|
||||
.sidebar {
|
||||
flex-grow: 1;
|
||||
flex: 2;
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
overflow-y: scroll;
|
||||
@@ -114,7 +114,7 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
flex-grow: 2;
|
||||
flex: 3;
|
||||
max-width: 740px;
|
||||
padding: 60px 2em;
|
||||
overflow-y: scroll;
|
||||
@@ -155,7 +155,7 @@
|
||||
}
|
||||
|
||||
.action {
|
||||
flex-grow: 1;
|
||||
flex: 1;
|
||||
flex-shrink: 0;
|
||||
padding: 60px 8px;
|
||||
color: var(--tertiary-background);
|
||||
|
||||
@@ -74,14 +74,13 @@
|
||||
|
||||
.appearance {
|
||||
.theme {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.themes {
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
||||
img {
|
||||
|
||||
Reference in New Issue
Block a user