Skip to content

Commit

Permalink
border radius (#3613)
Browse files Browse the repository at this point in the history
Co-authored-by: planctus <davidepuntoferrante@gmail.com>
  • Loading branch information
emeryro and planctus authored Sep 13, 2024
1 parent e8717cf commit bb537c1
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 @@ -271,11 +271,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

1 comment on commit bb537c1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.