File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,22 +58,10 @@ $banner-border-width: $border-width !default;
5858 & .is-loading {
5959 color : transparent ;
6060
61- > :first-child {
62- margin-inline-start : 1.75em ;
63- }
64-
6561 & ::before {
6662 @include loader ;
6763
68- position : absolute ;
6964 border-color : transparent transparent $banner-color $banner-color ;
70- font-size : $banner-icon-size ;
71- inset-block-start : calc ($banner-padding-block + $banner-icon-block-spacing );
72- inset-inline-start : $layout-gap ;
73-
74- @include widescreen {
75- inset-inline-start : $layout-widescreen-gap ;
76- }
7765 }
7866 }
7967
@@ -106,7 +94,8 @@ $banner-border-width: $border-width !default;
10694 }
10795 }
10896
109- .banner-icon {
97+ .banner-icon ,
98+ & .is-loading ::before {
11099 flex-shrink : 0 ;
111100 font-size : $banner-icon-size ;
112101 line-height : 1 ;
@@ -122,7 +111,8 @@ $banner-border-width: $border-width !default;
122111 }
123112
124113 .banner-icon ,
125- .banner-dismiss {
114+ .banner-dismiss ,
115+ & .is-loading ::before {
126116 margin-block-start : $banner-icon-block-spacing ;
127117 }
128118}
Original file line number Diff line number Diff line change @@ -59,18 +59,10 @@ $notification-border-radius: $border-radius !default;
5959 & .is-loading {
6060 color : transparent ;
6161
62- > :first-child {
63- margin-inline-start : 1.75em ;
64- }
65-
6662 & ::before {
6763 @include loader ;
6864
69- position : absolute ;
7065 border-color : transparent transparent $notification-color $notification-color ;
71- font-size : $notification-icon-size ;
72- inset-block-start : calc ($notification-padding-block + $notification-icon-block-spacing );
73- inset-inline-start : $notification-padding-inline ;
7466 }
7567 }
7668
@@ -99,7 +91,8 @@ $notification-border-radius: $border-radius !default;
9991 }
10092 }
10193
102- .notification-icon {
94+ .notification-icon ,
95+ & .is-loading ::before {
10396 flex-shrink : 0 ;
10497 font-size : $notification-icon-size ;
10598 line-height : 1 ;
@@ -115,7 +108,8 @@ $notification-border-radius: $border-radius !default;
115108 }
116109
117110 .notification-icon ,
118- .notification-dismiss {
111+ .notification-dismiss ,
112+ & .is-loading ::before {
119113 margin-block-start : $notification-icon-block-spacing ;
120114 }
121115}
You can’t perform that action at this time.
0 commit comments