diff --git a/less/modules/alerts.less b/less/modules/alerts.less index b1bd122..c343fd4 100644 --- a/less/modules/alerts.less +++ b/less/modules/alerts.less @@ -7,14 +7,21 @@ bottom: 0px; .alert { + overflow: hidden; + position: relative; + &::before { - position: relative; - top: -15px; - left: -15px; + transition: inherit; display: block; - height: 2px; + position: absolute; + z-index: 0; + + opacity: 0.1; + top: 0; + left: 0; + bottom: 0; width: 0; - transition: inherit; + height: 100%; } &.alert-info::before {