Fixed notification border radius being broken with alt actions

This commit is contained in:
Erik Reider
2023-12-15 00:10:37 +01:00
parent e5de83645c
commit 2d87e22906

View File

@@ -84,6 +84,12 @@
@extend %action-hover; @extend %action-hover;
} }
&:not(:only-child) {
/* When alternative actions are visible */
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
.notification-content { .notification-content {
background: transparent; background: transparent;
padding: 6px; padding: 6px;
@@ -168,12 +174,6 @@
border-top: none; border-top: none;
border-right: none; border-right: none;
&:not(:only-child) {
/* When alternative actions are visible */
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
&:first-child { &:first-child {
/* add bottom border radius to eliminate clipping */ /* add bottom border radius to eliminate clipping */
border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;