Skip to content

Commit 3d093c8

Browse files
authored
chore/UIDS-308 remove box shadow from inline alert (#309)
* removes box-shadow from inline Alert * fix weird angled border issue
1 parent 12bccb5 commit 3d093c8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/Alert/Alert.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
margin-bottom: 1rem;
1414
padding: .75rem 1.25rem;
1515
position: relative;
16-
border: 0.06rem solid transparent;
1716

1817
&__icon {
1918
grid-column-start: 1;
@@ -41,7 +40,6 @@
4140
background-color: $ux-green-200;
4241
color: $ux-green-800;
4342
border-left: 0.5rem solid $ux-green-400;
44-
box-shadow: $ux-elevations-20;
4543

4644
.close {
4745
color: $ux-green-800;
@@ -52,7 +50,6 @@
5250
background-color: $ux-blue-100;
5351
color: $ux-blue-700;
5452
border-left: 0.5rem solid $ux-blue-300;
55-
box-shadow: $ux-elevations-20;
5653

5754
.close {
5855
color: $ux-blue-700;
@@ -63,7 +60,6 @@
6360
background-color: $ux-blue-100;
6461
color: $ux-blue-700;
6562
border-left: 0.5rem solid $ux-blue-300;
66-
box-shadow: $ux-elevations-20;
6763

6864
.close {
6965
color: $ux-blue-700;
@@ -74,7 +70,6 @@
7470
background-color: $ux-yellow-100;
7571
color: $ux-yellow-800;
7672
border-left: 0.5rem solid $ux-yellow-600;
77-
box-shadow: $ux-elevations-20;
7873

7974
.close {
8075
color: $ux-yellow-800;
@@ -85,7 +80,6 @@
8580
background-color: $ux-red-100;
8681
color: $ux-red-800;
8782
border-left: 0.5rem solid $ux-red-400;
88-
box-shadow: $ux-elevations-20;
8983

9084
.close {
9185
color: $ux-red-800;

src/Toast/Toast.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@
1919
padding: $ux-spacing-20;
2020
width: 100vw;
2121
}
22+
23+
.Alert {
24+
box-shadow: $ux-elevations-20;
25+
}
2226
}

0 commit comments

Comments
 (0)