diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-22 11:19:38 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-22 11:27:09 +0800 |
commit | 1ddf1b8c54fcda9fe89e6c4531739f76d7652f52 (patch) | |
tree | c866f57ceb0f7a7e4689a841ad5942394a528990 /src/css | |
parent | 25a2a077f7b436c752834f01fbedbbd8fe285512 (diff) |
refactor: rename data attribute for editor
data-layout -> data-mode
This prevents confusing with data-layout in dumbymap
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/index.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/index.css b/src/css/index.css index 3b8a51f..dc4c2e8 100644 --- a/src/css/index.css +++ b/src/css/index.css | |||
@@ -11,7 +11,7 @@ body { | |||
11 | width: 100%; | 11 | width: 100%; |
12 | height: 100vh; | 12 | height: 100vh; |
13 | 13 | ||
14 | &[data-layout="editing"] { | 14 | &[data-mode="editing"] { |
15 | display: flex; | 15 | display: flex; |
16 | align-items: stretch; | 16 | align-items: stretch; |
17 | gap: 0.5em; | 17 | gap: 0.5em; |