diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-23 00:51:22 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-23 12:56:33 +0800 |
| commit | 5eefd9c2e4f948cddecf313231afdc62aa1531cd (patch) | |
| tree | 36e91cec8cb9db029adf56462d77b53fb17748c8 /src/css | |
| parent | 911f25e922d47e12c07cc5285d849d2dea10e44e (diff) | |
feat(layout): transition to reduce height of empty block
Diffstat (limited to 'src/css')
| -rw-r--r-- | src/css/dumbymap.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index b4689b9..591c9ec 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
| @@ -397,6 +397,16 @@ | |||
| 397 | } | 397 | } |
| 398 | } | 398 | } |
| 399 | 399 | ||
| 400 | .dumby-block:has(pre:only-child [data-placeholder]:only-child) { | ||
| 401 | overflow: clip; | ||
| 402 | |||
| 403 | [data-placeholder] { | ||
| 404 | height: 50px !important; | ||
| 405 | scale: .9; | ||
| 406 | transition-duration: .4s; | ||
| 407 | transition-timing-function: ease-out; | ||
| 408 | } | ||
| 409 | } | ||
| 400 | 410 | ||
| 401 | .bold-options { | 411 | .bold-options { |
| 402 | font-weight: bold; | 412 | font-weight: bold; |