Skip to content

Commit

Permalink
EWPP-4556: Apply a temporary css fix for banner video.
Browse files Browse the repository at this point in the history
  • Loading branch information
nagyad committed Aug 28, 2024
1 parent 3e2448a commit 780a995
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sass/components/_banner.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Small banner - ratio 5:1
.ecl-banner--s .ecl-banner__image,
.ecl-banner--s .ecl-banner__video {
aspect-ratio: 5/1;

--css-aspect-ratio: 5/1;
}

// Large banner - ratio 3:1
.ecl-banner--l .ecl-banner__image,
.ecl-banner--l .ecl-banner__video {
aspect-ratio: 3/1;

--css-aspect-ratio: 3/1;
}
1 change: 1 addition & 0 deletions sass/style-ec.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
$font-family: map.get(theme.$theme, 'font-family', 'default'),
);
@use "./components/navigation_list";
@use "./components/banner";
1 change: 1 addition & 0 deletions sass/style-eu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@
$font-family: map.get(theme.$theme, 'font-family', 'default'),
);
@use "./components/navigation_list";
@use "./components/banner";

0 comments on commit 780a995

Please sign in to comment.