aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-24 10:31:54 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-24 12:17:22 +0800
commit830c8e4c6da521e471fed008e8b9c7c3a10214d5 (patch)
tree18593c1239a20921cd18f39c0563095b5483811e /src
parentbf436852367fee4eb896dc8425c52ab1e44e14bb (diff)
feat(CSS): fix overflow of content of draggable block
Diffstat (limited to 'src')
-rw-r--r--src/css/dumbymap.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css
index 8dfd97d..84c150c 100644
--- a/src/css/dumbymap.css
+++ b/src/css/dumbymap.css
@@ -311,7 +311,7 @@
311 pointer-events: auto; 311 pointer-events: auto;
312 312
313 &:has(pre:only-child [data-placeholder]:only-child) { 313 &:has(pre:only-child [data-placeholder]:only-child) {
314 visibility: hidden; 314 display: none;
315 } 315 }
316 316
317 .dumby-block { 317 .dumby-block {
@@ -320,7 +320,8 @@
320 320
321 position: relative; 321 position: relative;
322 322
323 border: none; 323 border: solid transparent 3px;
324 border-radius: 0.5rem;
324 resize: both; 325 resize: both;
325 min-width: 5rem; 326 min-width: 5rem;
326 max-width: 25vw; 327 max-width: 25vw;