diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/css/dumbymap.css | 15 | ||||
| -rw-r--r-- | src/css/index.css | 4 |
2 files changed, 13 insertions, 6 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index a41cd57..e9d9dba 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
| @@ -39,23 +39,21 @@ | |||
| 39 | /* height: 100vh; */ | 39 | /* height: 100vh; */ |
| 40 | 40 | ||
| 41 | .Showcase { | 41 | .Showcase { |
| 42 | flex: 0; | 42 | order: 2; |
| 43 | #mapPlaceholder { | 43 | #mapPlaceholder { |
| 44 | display: none; | 44 | display: none; |
| 45 | } | 45 | } |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | .SemanticHtml { | 48 | .SemanticHtml { |
| 49 | flex: 1; | 49 | order: 1; |
| 50 | padding: 0.5rem; | 50 | padding: 0.5rem; |
| 51 | overflow-y: scroll; | 51 | overflow-y: scroll; |
| 52 | 52 | ||
| 53 | > .draggable-block { | 53 | > .draggable-block { |
| 54 | width: 100%; | 54 | width: 100%; |
| 55 | position: relative; | ||
| 56 | pointer-events: auto; | 55 | pointer-events: auto; |
| 57 | border-radius: 0.5rem; | 56 | border-radius: 0.5rem; |
| 58 | padding: 0.5rem; | ||
| 59 | background-color: white; | 57 | background-color: white; |
| 60 | margin-bottom: 3rem; | 58 | margin-bottom: 3rem; |
| 61 | 59 | ||
| @@ -145,14 +143,22 @@ | |||
| 145 | box-sizing: content-box; | 143 | box-sizing: content-box; |
| 146 | position: absolute; | 144 | position: absolute; |
| 147 | width: fit-content; | 145 | width: fit-content; |
| 146 | height: fill-available; | ||
| 148 | max-height: 50vh; | 147 | max-height: 50vh; |
| 149 | overflow: scroll; | 148 | overflow: scroll; |
| 150 | border: solid gray; | 149 | border: solid gray; |
| 150 | padding: 0.3rem; | ||
| 151 | padding-top: 0.5rem; | ||
| 152 | padding-bottom: 0; | ||
| 151 | 153 | ||
| 152 | * { | 154 | * { |
| 153 | max-width: calc(100vw/4); | 155 | max-width: calc(100vw/4); |
| 154 | } | 156 | } |
| 155 | 157 | ||
| 158 | .map-container { | ||
| 159 | min-width: 200px; | ||
| 160 | } | ||
| 161 | |||
| 156 | .draggable { | 162 | .draggable { |
| 157 | width: 100%; | 163 | width: 100%; |
| 158 | display: block; | 164 | display: block; |
| @@ -167,6 +173,7 @@ | |||
| 167 | transition: all 0.3s ease-out; | 173 | transition: all 0.3s ease-out; |
| 168 | &:hover { | 174 | &:hover { |
| 169 | background-color: lightgray; | 175 | background-color: lightgray; |
| 176 | padding-top: 1em; | ||
| 170 | } | 177 | } |
| 171 | } | 178 | } |
| 172 | } | 179 | } |
diff --git a/src/css/index.css b/src/css/index.css index 17a8dd1..49b3abb 100644 --- a/src/css/index.css +++ b/src/css/index.css | |||
| @@ -15,7 +15,7 @@ body { | |||
| 15 | padding: 0.5em; | 15 | padding: 0.5em; |
| 16 | 16 | ||
| 17 | .DumbyMap { | 17 | .DumbyMap { |
| 18 | order: 2; | 18 | order: 1; |
| 19 | flex: 1 0 calc(50% - 0.5em); | 19 | flex: 1 0 calc(50% - 0.5em); |
| 20 | height: 100%; | 20 | height: 100%; |
| 21 | overflow-y: scroll; | 21 | overflow-y: scroll; |
| @@ -25,7 +25,7 @@ body { | |||
| 25 | .editor { | 25 | .editor { |
| 26 | display: block; | 26 | display: block; |
| 27 | 27 | ||
| 28 | order: 1; | 28 | order: 2; |
| 29 | flex: 1 0 50%; | 29 | flex: 1 0 50%; |
| 30 | max-width: calc(50% - 0.5em); | 30 | max-width: calc(50% - 0.5em); |
| 31 | height: 100%; | 31 | height: 100%; |