Skip to content

Commit

Permalink
use entire row for year range in narrow popup
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Jan 3, 2024
1 parent f631738 commit e196cd9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion popup/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,12 @@
min-width: 12em;
}

@media (width < 400px) {
#search-years {
width: 100%;
}
}

@media (min-width: 400px) {
.search-result {
--col: 3;
Expand All @@ -385,7 +391,7 @@
vertical-align: top;
box-sizing: border-box;
margin-right: var(--pad);
@media (max-width: 599px) {
@media (width < 600px) {
--col: 2;
&:nth-child(even) {
margin-right: 0;
Expand Down

0 comments on commit e196cd9

Please sign in to comment.