Skip to content
Snippets Groups Projects
Unverified Commit 7a61f0bc authored by Conrad Zelck's avatar Conrad Zelck
Browse files

style: place label below/above for small devices


The label took more space then needed. Put the label above or below the
the touch elements.

Signed-off-by: default avatarConrad Zelck <git@simpel.cc>
parent 339c1d63
No related branches found
No related tags found
No related merge requests found
:root {
--default-top-padding: 1.5em;
--default-body-bottom-margin: 2vmin;
--default-min-font-size-px: 14px;
--default-min-font-size: 14;
--default-min-font-size-px: 12px;
--default-min-font-size: 12;
--default-max-font-size-px: 18px;
--default-max-font-size: 18;
}
......@@ -21,6 +21,7 @@ html {
body {
height: calc(100vh - 3vmin); /* minus margin-top - margin bottom is 0 */
font-size: inherit;
font-family: helvetica, Arial, sans-serif;
background-color: #555;
color: white;
......@@ -488,11 +489,21 @@ main {
.two-column {
grid-template-columns: minmax(0, 1fr);
}
#selects > label {
display: block;
}
div.download {
/* padding is only needed if it must align to file input when side by side */
padding-top: 0;
}
}
@media (max-width: 600px) {
#checkboxes > label, #selects > label {
display: grid;
}
}
/* iPhone 13 mini portrait */
@media (max-width: 375px) {
.left.label-w-select, .right.label-w-select {
flex-direction: column;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment