safe area for iphone notch, button styling

main
pantonshire 3 years ago
parent 232097d999
commit a9d73ecd57

@ -17,6 +17,11 @@ html,
body { body {
max-width: 100vw; max-width: 100vw;
overflow-x: hidden; overflow-x: hidden;
padding:
env(safe-area-inset-top)
env(safe-area-inset-right)
env(safe-area-inset-bottom)
env(safe-area-inset-left);
} }
a { a {

@ -56,16 +56,13 @@
#output_table { #output_table {
margin: 0 auto; margin: 0 auto;
font-size: 0.9rem; font-size: 0.9rem;
white-space: nowrap;
} }
.output_table_regular tbody th:nth-child(1) { .output_table_regular tbody th:nth-child(1) {
text-align: center; text-align: center;
} }
.output_table_regular {
white-space: nowrap;
}
.output_table_transposed th, .output_table_transposed th,
.output_table_transposed td { .output_table_transposed td {
vertical-align: top; vertical-align: top;
@ -79,6 +76,7 @@
.button { .button {
padding: 0.25rem 2rem; padding: 0.25rem 2rem;
display: block; display: block;
color: var(--main_1);
} }
@media screen and (min-width: 40rem) { @media screen and (min-width: 40rem) {

Loading…
Cancel
Save