diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-15 11:00:41 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-15 11:02:28 +0800 |
| commit | 0a081ceddbc10212c87c337b054b0ca4f3534666 (patch) | |
| tree | 2c6bf50741e3a21b59d9c3c4aafa178cb7216879 /src | |
| parent | 19aa38f4c29ea2349207a25292d1970ce596b3f1 (diff) | |
fix(CSS): Set html content full width
Diffstat (limited to 'src')
| -rw-r--r-- | src/css/dumbymap.css | 3 | ||||
| -rw-r--r-- | src/css/index.css | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index e9d9dba..ab09863 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
| @@ -47,8 +47,9 @@ | |||
| 47 | 47 | ||
| 48 | .SemanticHtml { | 48 | .SemanticHtml { |
| 49 | order: 1; | 49 | order: 1; |
| 50 | padding: 0.5rem; | 50 | padding: 1.5rem; |
| 51 | overflow-y: scroll; | 51 | overflow-y: scroll; |
| 52 | width: 100%; | ||
| 52 | 53 | ||
| 53 | > .draggable-block { | 54 | > .draggable-block { |
| 54 | width: 100%; | 55 | width: 100%; |
diff --git a/src/css/index.css b/src/css/index.css index 49b3abb..b8c8ba5 100644 --- a/src/css/index.css +++ b/src/css/index.css | |||
| @@ -47,7 +47,7 @@ body { | |||
| 47 | 47 | ||
| 48 | .CodeMirror { | 48 | .CodeMirror { |
| 49 | order: 1; | 49 | order: 1; |
| 50 | flex: 1 0 auto; | 50 | flex: 1 0 0; |
| 51 | border: var(--content-border); | 51 | border: var(--content-border); |
| 52 | border-radius: var(--content-border-radius); | 52 | border-radius: var(--content-border-radius); |
| 53 | padding-inline: 0; | 53 | padding-inline: 0; |
| @@ -65,7 +65,7 @@ body { | |||
| 65 | 65 | ||
| 66 | .editor-toolbar { | 66 | .editor-toolbar { |
| 67 | order: 2; | 67 | order: 2; |
| 68 | flex: 0 0 auto; | 68 | flex: 0 0 0; |
| 69 | border-left: 1px solid #ced4da; | 69 | border-left: 1px solid #ced4da; |
| 70 | border-right: 1px solid #ced4da; | 70 | border-right: 1px solid #ced4da; |
| 71 | border-bottom: 1px solid #ced4da; | 71 | border-bottom: 1px solid #ced4da; |