Commit ·
92584b4
1
Parent(s): fa80470
Fix UI overflow, horizontal scrolling, and focus mode width
Browse files- src/css/base.css +1 -0
- src/css/components.css +4 -2
src/css/base.css
CHANGED
|
@@ -12,6 +12,7 @@ html {
|
|
| 12 |
}
|
| 13 |
|
| 14 |
body {
|
|
|
|
| 15 |
font-family: var(--font-family-primary);
|
| 16 |
font-size: var(--font-size-body);
|
| 17 |
font-weight: var(--font-weight-regular);
|
|
|
|
| 12 |
}
|
| 13 |
|
| 14 |
body {
|
| 15 |
+
overflow-x: hidden;
|
| 16 |
font-family: var(--font-family-primary);
|
| 17 |
font-size: var(--font-size-body);
|
| 18 |
font-weight: var(--font-weight-regular);
|
src/css/components.css
CHANGED
|
@@ -413,7 +413,7 @@
|
|
| 413 |
/* ── Formatting Toolbar ── */
|
| 414 |
.format-toolbar {
|
| 415 |
display: flex;
|
| 416 |
-
flex-wrap:
|
| 417 |
align-items: center;
|
| 418 |
justify-content: center;
|
| 419 |
gap: 3px;
|
|
@@ -428,6 +428,7 @@
|
|
| 428 |
|
| 429 |
.fmt-group {
|
| 430 |
display: flex;
|
|
|
|
| 431 |
align-items: center;
|
| 432 |
gap: 1px;
|
| 433 |
background: var(--color-border);
|
|
@@ -3922,7 +3923,8 @@ body.focus-mode .format-toolbar:hover {
|
|
| 3922 |
opacity: 1;
|
| 3923 |
}
|
| 3924 |
body.focus-mode .editor-surface {
|
| 3925 |
-
max-width:
|
|
|
|
| 3926 |
margin: 0 auto;
|
| 3927 |
}
|
| 3928 |
|
|
|
|
| 413 |
/* ── Formatting Toolbar ── */
|
| 414 |
.format-toolbar {
|
| 415 |
display: flex;
|
| 416 |
+
flex-wrap: wrap;
|
| 417 |
align-items: center;
|
| 418 |
justify-content: center;
|
| 419 |
gap: 3px;
|
|
|
|
| 428 |
|
| 429 |
.fmt-group {
|
| 430 |
display: flex;
|
| 431 |
+
flex-wrap: wrap;
|
| 432 |
align-items: center;
|
| 433 |
gap: 1px;
|
| 434 |
background: var(--color-border);
|
|
|
|
| 3923 |
opacity: 1;
|
| 3924 |
}
|
| 3925 |
body.focus-mode .editor-surface {
|
| 3926 |
+
max-width: 900px;
|
| 3927 |
+
width: 100%;
|
| 3928 |
margin: 0 auto;
|
| 3929 |
}
|
| 3930 |
|