- commit
- 2f238a2cbc11d14683746c88b7645db33dc5494e
- parent
- d8b672f047c42e274328adccf8d0aaeb3c1eee85
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-05-03 20:46
flow-relative CSS
Diffstat
| M | src/popup.css | 4 | ++-- |
| M | src/settings.css | 7 | ++++--- |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/popup.css b/src/popup.css
@@ -17,12 +17,12 @@ 17 17 table { 18 18 background: var(--red-light); 19 19 border-spacing: 0;20 -1 margin-bottom: 0.2em;-1 20 margin-block-end: 0.2em; 21 21 } 22 22 th, td { 23 23 position: relative; 24 24 border: 1px solid #fff;25 -1 min-width: 2.4em;-1 25 min-inline-size: 2.4em; 26 26 line-height: 1.8; 27 27 text-align: center; 28 28 font-weight: normal;
diff --git a/src/settings.css b/src/settings.css
@@ -9,7 +9,7 @@ body {
9 9 }
10 10
11 11 form {
12 -1 height: 100vh;
-1 12 block-size: 100vb;
13 13 display: grid;
14 14 grid-template-rows: 1fr min-content;
15 15 grid-template-columns: 1fr 1fr;
@@ -18,12 +18,13 @@ form {
18 18 }
19 19
20 20 textarea {
21 -1 width: 100%;
-1 21 block-size: 100%;
22 22 resize: none;
23 23 }
24 24
25 25 button {
26 -1 padding: 0.5em 2em;
-1 26 padding-block: 0.5em;
-1 27 padding-inline: 2em;
27 28 justify-self: end;
28 29 grid-column: 1 / 3;
29 30 }