Skip to content

Commit

Permalink
Add reasonable fallback for .medias. DDFFORM-73
Browse files Browse the repository at this point in the history
Up until now, it needed either --single or --multiple.
Now it works, without either (as --single)
  • Loading branch information
rasben committed Dec 19, 2023
1 parent d721f58 commit ac273e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/stories/Library/medias/medias.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
$_medias-breakpoint: 550px;

.medias {
@include layout-container($layout__max-width--single-media, 0);
}

.medias__item {
width: 100%;
box-sizing: border-box;
Expand All @@ -12,10 +16,6 @@ $_medias-breakpoint: 550px;
}
}

.medias--single {
@include layout-container($layout__max-width--single-media, 0);
}

@include media-query($_medias-breakpoint) {
.medias--multiple {
display: grid;
Expand Down

0 comments on commit ac273e6

Please sign in to comment.