Skip to content

Commit 648e434

Browse files
committed
Add mobile-responsive CSS (fixes #45)
1 parent ef25cbd commit 648e434

1 file changed

Lines changed: 67 additions & 0 deletions

File tree

public/styles.css

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,3 +587,70 @@ td {
587587
padding: 20px;
588588
font-style: italic;
589589
}
590+
591+
/* Mobile responsive */
592+
@media (max-width: 768px) {
593+
.container {
594+
padding: 12px;
595+
}
596+
597+
header {
598+
padding: 16px;
599+
}
600+
601+
.header-top {
602+
flex-direction: column;
603+
align-items: flex-start;
604+
}
605+
606+
h1 {
607+
font-size: 22px;
608+
}
609+
610+
.status-indicators {
611+
width: 100%;
612+
}
613+
614+
.status-indicator,
615+
.schedule-indicator {
616+
min-width: unset;
617+
width: 100%;
618+
}
619+
620+
.controls {
621+
flex-wrap: wrap;
622+
}
623+
624+
.controls .btn {
625+
flex: 1 1 auto;
626+
min-width: 0;
627+
text-align: center;
628+
}
629+
630+
section {
631+
padding: 16px;
632+
}
633+
634+
.engine-key {
635+
flex-direction: column;
636+
gap: 6px;
637+
align-items: flex-start;
638+
}
639+
640+
/* History table: horizontal scroll */
641+
#historySection {
642+
overflow: visible;
643+
}
644+
645+
#historyTable {
646+
display: block;
647+
overflow-x: auto;
648+
-webkit-overflow-scrolling: touch;
649+
white-space: nowrap;
650+
}
651+
652+
th, td {
653+
padding: 8px;
654+
font-size: 13px;
655+
}
656+
}

0 commit comments

Comments
 (0)