aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-12 11:38:08 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-12 16:28:56 +0800
commit5c35881befd7a3dc51afd124ed28cc4ecb1bb827 (patch)
treef4e607d929ca47c488f89c4e3bc36a12b806fd81
parent6fad3f93ec8a92e71138853e36e0fd2526cc2942 (diff)
chore: Quick way to evenly split layout
-rw-r--r--src/css/index.css11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/css/index.css b/src/css/index.css
index 3764dac..55e3668 100644
--- a/src/css/index.css
+++ b/src/css/index.css
@@ -10,15 +10,18 @@ body {
10} 10}
11 11
12.result-html { 12.result-html {
13 flex: 0 0 50%; 13 order: 2;
14 flex: 0 0 49%;
15 height: calc(100vh - 15px);
16 margin: 10px;
17 overflow-y: scroll;
14 border: var(--content-border); 18 border: var(--content-border);
15 border-radius: var(--content-border-radius); 19 border-radius: var(--content-border-radius);
16 margin: 10px;
17} 20}
18 21
19.editor { 22.editor {
20 flex: 0 0 50%; 23 order: 1;
21 max-width: 50vw; 24 flex: 0 0 48%;
22 height: calc(100vh - 15px); 25 height: calc(100vh - 15px);
23 margin: 10px; 26 margin: 10px;
24} 27}