Skip to content

Commit

Permalink
Merge pull request #1181 from City-of-Helsinki/UHF-11235
Browse files Browse the repository at this point in the history
UHF-11235: Prevent selects from wrapping
  • Loading branch information
jeremysteerio authored Feb 11, 2025
2 parents 2d23361 + 15546ba commit b30f5a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/scss/06_components/paragraphs/_event-list.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Max width for selects when not in mobile (From HDBT).
$select-max-width: 420px;

.component--event-list {
@include component-side-padding;
}
Expand Down Expand Up @@ -33,6 +36,10 @@

.event-form__filter-section-container .hdbt-search__dropdown {
max-width: none;

@include breakpoint($breakpoint-m) {
max-width: $select-max-width;
}
}

.event-list__see-all-button {
Expand Down

0 comments on commit b30f5a7

Please sign in to comment.