Skip to content

Commit 3ccdb3c

Browse files
acidiolaurkim
authored andcommitted
[List] reset last Item margin-bottom
1 parent db6b87d commit 3ccdb3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

polaris-react/src/components/List/List.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
}
1616

1717
.Item {
18-
&:last-child {
19-
margin-bottom: 0;
20-
}
21-
2218
.List:first-child {
2319
margin-top: var(--p-space-2);
2420
}
@@ -29,3 +25,7 @@
2925
margin-bottom: var(--p-space-2);
3026
}
3127
}
28+
29+
.Item:last-child {
30+
margin-bottom: 0;
31+
}

0 commit comments

Comments
 (0)