Skip to content

Commit

Permalink
Style Fix: Prevent tab-specific breakpoints from escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
VitroidFPV committed May 13, 2024
1 parent e61a580 commit 24a8738
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions src/css/tabs/setup.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,28 @@
left: 0;
border-radius: 1rem;
}
@media only screen and (max-width: 1055px) {
.grid-box {
grid-template-columns: 1fr !important;
}
.col-span-3 {
display: grid !important;
grid-column: span 1 !important;
}
.col-span-1 {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
}
#canvas_wrapper {
max-height: 20rem !important;
}
}

@media all and (max-width: 575px) {
.grid-box {
grid-template-columns: 1fr !important;
}
}
}
#accel_calib_running {
display: none;
Expand Down Expand Up @@ -138,25 +160,4 @@
.disarm-flag {
padding-left: 5px;
}
@media only screen and (max-width: 1055px) {
.grid-box {
grid-template-columns: 1fr !important;
}
.col-span-3 {
display: grid !important;
grid-column: span 1 !important;
}
.col-span-1 {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
}
#canvas_wrapper {
max-height: 20rem !important;
}
}

@media all and (max-width: 575px) {
.grid-box {
grid-template-columns: 1fr !important;
}
}

0 comments on commit 24a8738

Please sign in to comment.