Skip to content

Commit 0e24a91

Browse files
committed
Optimize for mobile
1 parent b64c42c commit 0e24a91

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

frontend/public/styles.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,13 +475,58 @@ main.in .inner {
475475
}
476476

477477
@media screen and (max-width: 950px) {
478+
body {
479+
padding: 0;
480+
}
481+
478482
.buttons,
479483
.button {
480484
width: -webkit-fill-available;
485+
min-width: unset;
486+
text-align: center;
481487
}
482488

483489
.buttons {
484490
flex-direction: column;
485491
gap: 10px;
486492
}
493+
494+
main {
495+
padding-top: min(50px, 5vh);
496+
border-radius: 0;
497+
height: calc(100vh - (min(50px, 5vh)) - (min(100px, 10vh)));
498+
499+
.commissions {
500+
gap: 15px;
501+
502+
.commission {
503+
flex-wrap: wrap;
504+
505+
p:last-of-type {
506+
margin-right: 0;
507+
margin-left: auto;
508+
}
509+
510+
.button {
511+
width: -webkit-fill-available;
512+
}
513+
}
514+
}
515+
516+
table {
517+
padding: 15px !important;
518+
519+
tbody {
520+
display: flex;
521+
flex-direction: column;
522+
gap: 7.5px;
523+
}
524+
525+
tr {
526+
display: flex;
527+
flex-direction: column;
528+
gap: 5px;
529+
}
530+
}
531+
}
487532
}

0 commit comments

Comments
 (0)