better layout

Massimo Melina committed Jun 16, 2023 at 14:40 UTC 55a8c941a709e89f3dd51d5bb41fd135ba04b559
1 file changed +4 -4
frontend/src/index.scss
+4 -4
@@ -218,9 +218,9 @@ header {
218 align-items: center;
219 gap: .8em;
220 margin: 0.2em 0 0;
221 - padding: 2px 0 1px 11px;
221 + padding: 2px 0 1px 3px;
222 height: 1.8em; /* necessary to animate displaying */
223 - & input[type=checkbox] { margin-top: .5em; }
223 + & input[type=checkbox] { margin-top: .3em; }
224 & span:empty { display:none } /* avoid flex-gap */
225 }
226
@@ -238,7 +238,7 @@ ul.dir {
238 &:nth-of-type(odd) { background-color: var(--ghost-contrast); }
239
240 & input[type=checkbox] {
241 - margin: 0 .8em;
241 + margin-right: 1em;
242 }
243 & .link-wrapper {
244 &:not(:hover) .popup-menu-button { display: none; }
@@ -456,7 +456,7 @@ button label {
456 flex-direction: column;
457 border-bottom: none;
458 overflow-x: clip;
459 - padding: 0;
459 + padding: .5em 0 0;
460
461 .link-wrapper {
462 &:not(:hover) {