aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/css
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-21 16:40:22 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-21 17:08:05 +0800
commitcbe40ac1128eedcda30812285cbec003acb8adc1 (patch)
tree0b1765b9cceaee4c7532282cf733cb5f95ecb18a /src/css
parente015aeb2c13903871da306d3aa840c25c7a3597f (diff)
refactor: layout class
* put class Layout and OverlayLayout together * apply extend on OverlayLayout * rename layouts: "none" -> "normal", "side" -> "side-by-side"
Diffstat (limited to 'src/css')
-rw-r--r--src/css/dumbymap.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css
index f5695f1..6c68548 100644
--- a/src/css/dumbymap.css
+++ b/src/css/dumbymap.css
@@ -150,7 +150,6 @@
150 } 150 }
151} 151}
152 152
153.DumbyMap[data-layout]:not([data-layout="none"]) {
154 width: 100%; 153 width: 100%;
155 height: 100vh; 154 height: 100vh;
156 margin: 0 auto; 155 margin: 0 auto;
@@ -162,9 +161,10 @@
162 display: none; 161 display: none;
163 pointer-events: none; 162 pointer-events: none;
164 } 163 }
164.DumbyMap[data-layout]:not([data-layout="normal"]) {
165} 165}
166 166
167.DumbyMap[data-layout="side"] { 167.DumbyMap[data-layout="side-by-side"] {
168 .SemanticHtml { 168 .SemanticHtml {
169 flex: 50%; 169 flex: 50%;
170 overflow-y: auto; 170 overflow-y: auto;