Skip to content

Commit

Permalink
fix: border left stability
Browse files Browse the repository at this point in the history
  • Loading branch information
dauriamarco committed Jan 11, 2024
1 parent 37061ad commit a2ce7bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/notification/notification.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@
background-color: var(--sbb-notification-type-color);
border: var(--sbb-notification-border);
border-radius: var(--sbb-notification-base-radius);
z-index: -1;
}
}

.sbb-notification {
@include sbb.text-s--regular;

position: relative;
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
Expand All @@ -129,6 +129,7 @@
color: var(--sbb-notification-color);
border-radius: var(--sbb-notification-border-radius);
overflow: hidden;
z-index: 1;

// We apply SASS calculated background color as default/fallback for older browsers.
background-color: var(--sbb-notification-type-color-sass);
Expand Down

0 comments on commit a2ce7bd

Please sign in to comment.