Skip to content

Commit

Permalink
Make search results responsive to width
Browse files Browse the repository at this point in the history
  • Loading branch information
rukmini-bose committed Jan 17, 2024
1 parent 8ed13f9 commit 7128f22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/ui/layout/search/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
min-width: 500px;
max-height: 500px;
z-index: 60;
body.mobile & {
min-width: 90vw;
max-height: 90vh;
}
}

&__results,
Expand Down Expand Up @@ -72,6 +76,10 @@
margin-top: $interiorMargin;
}
}

body.mobile & {
width: auto;
}
}

.c-gsearch-result {
Expand Down Expand Up @@ -141,4 +149,5 @@
.c-tag {
font-size: 0.9em;
}

}

0 comments on commit 7128f22

Please sign in to comment.