Skip to content

Commit

Permalink
border radius
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryro committed Sep 9, 2024
1 parent 33ba16b commit 0ae8ef7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/implementations/vanilla/components/banner/banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,13 @@ $banner: null !default;

.ecl-banner__content {
background-color: map.get($banner, 'content-background');
border-radius: map.get($banner, 'content-border-radius');
max-width: map.get($banner, 'content-width');
padding: map.get($banner, 'content-padding');

.ecl-banner--box-bg-none & {
background-color: transparent;
border-radius: 0;
padding: 0;
}

Expand Down
1 change: 1 addition & 0 deletions src/themes/ec/variables/_banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ $banner: (
background-color: var(--c-n-40),
content-width: 42.5rem,
content-background: var(--c-bg),
content-border-radius: 0,
content-padding: var(--s-l) var(--s-xl) var(--s-xl),
container-padding-bottom: (
'mobile': var(--s-xl),
Expand Down
1 change: 1 addition & 0 deletions src/themes/eu/variables/_banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ $banner: (
background-color: var(--c-p-5),
content-width: 42.5rem,
content-background: map.get($color, 'white'),
content-border-radius: map.get($border-radius, 'm'),
content-padding: var(--s-l) var(--s-l),
container-padding-bottom: (
'mobile': var(--s-l),
Expand Down

0 comments on commit 0ae8ef7

Please sign in to comment.