CE - Resolve "Missing borders between settings items"

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14877
This commit is contained in:
Marcel van Remmerden 2019-08-08 16:21:19 +00:00 committed by Paul Slaughter
parent cbb35ea882
commit d270cfbbbf
No known key found for this signature in database
GPG Key ID: DF5690803C68282A
1 changed files with 7 additions and 3 deletions

View File

@ -24,12 +24,16 @@
.settings {
// border-top for each item except the top one
+ .settings {
border-top: 1px solid $border-color;
}
border-top: 1px solid $border-color;
&:first-of-type {
margin-top: 10px;
border: 0;
}
+ div .settings:first-of-type {
margin-top: 0;
border-top: 1px solid $border-color;
}
&.animating {