diff --git a/public/style.css b/public/style.css index 3d0b8df7..e2f7c09b 100644 --- a/public/style.css +++ b/public/style.css @@ -7312,6 +7312,17 @@ article code { .flex-grow-1 { flex-grow: 1; } +.flex-fair { + flex-basis: 1px; + flex-grow: 1; + flex-shrink: 1; } + +@media screen and (min-width: 30em) { + .flex-fair-ns { + flex-basis: 1px; + flex-grow: 1; + flex-shrink: 1; } } + .b--theme { border-color: #666; border-color: var(--theme-color); } diff --git a/src/rawdata/scss/_core.scss b/src/rawdata/scss/_core.scss index 09fc8f01..07d9d12e 100644 --- a/src/rawdata/scss/_core.scss +++ b/src/rawdata/scss/_core.scss @@ -180,6 +180,20 @@ article code { flex-grow: 1; } +.flex-fair { + flex-basis: 1px; + flex-grow: 1; + flex-shrink: 1; +} + +@media #{$breakpoint-not-small} { + .flex-fair-ns { + flex-basis: 1px; + flex-grow: 1; + flex-shrink: 1; + } +} + .b--theme { @include usevar(border-color, theme-color); } diff --git a/src/templates/src/editor.html b/src/templates/src/editor.html index 2413379d..e4e071df 100644 --- a/src/templates/src/editor.html +++ b/src/templates/src/editor.html @@ -9,92 +9,99 @@ + + {{ end }} {{ define "content" }} -