Skip to content

Commit

Permalink
impr(test page): make desktop test config visible on narrower widths
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Apr 30, 2024
1 parent f03bab2 commit b95c2e8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/html/pages/test.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="page pageTest hidden full-width content-grid">
<div id="testConfig">
<div id="testConfig" class="full-width">
<div class="row">
<div class="puncAndNum">
<div class="textButton punctuationMode">
Expand Down
6 changes: 2 additions & 4 deletions frontend/src/styles/media-queries-blue.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
--content-max-width: 640px;
}
#testConfig {
display: none;
}
#mobileTestConfigButton {
display: block;
font-size: 0.65rem;
--horizontalPadding: 0.55em;
}
#testModesNotice {
font-size: 0.8rem;
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/styles/media-queries-purple.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
}
}
.pageTest {
#testConfig {
display: none;
}
#mobileTestConfigButton {
display: block;
}
#result .wrapper {
.stats {
grid-template-columns: 1fr;
Expand Down

0 comments on commit b95c2e8

Please sign in to comment.