aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/css
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-15 11:51:30 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-15 15:16:13 +0800
commit7a3cbaf8bb8fdbae487f96a81b881d42f732f6b5 (patch)
tree5d737e4bfdc3d5025807e16f016f17abd9633ca7 /src/css
parent1c5a950c274a7acd9f98a3ac68ad2426c16eb097 (diff)
feat(CSS): Make draggable blocks resizable
Diffstat (limited to 'src/css')
-rw-r--r--src/css/dumbymap.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css
index 2da2376..876d980 100644
--- a/src/css/dumbymap.css
+++ b/src/css/dumbymap.css
@@ -145,14 +145,18 @@
145 position: absolute; 145 position: absolute;
146 width: fit-content; 146 width: fit-content;
147 max-height: 50vh; 147 max-height: 50vh;
148 max-width: 25vw;
148 overflow: scroll; 149 overflow: scroll;
149 border: solid gray; 150 border: solid gray;
150 padding: 0.3rem; 151 padding: 0.3rem;
151 padding-top: 0.5rem; 152 padding-top: 0.5rem;
152 padding-bottom: 0; 153 padding-bottom: 0;
154 resize: both;
153 155
154 * { 156 &[style*="height"],
155 max-width: calc(100vw/4); 157 &[style*="width"] {
158 max-height: unset;
159 max-width: unset;
156 } 160 }
157 161
158 .map-container { 162 .map-container {