summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-07-11 21:04:47 +0000
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-07-11 21:04:47 +0000
commit990d7ecedb75fc893e1409a5150844d59b8a5c0c (patch)
tree3450b74dd053a5f20a6e040e355d428bf3011c28
parentd50125a03fffe64cd8976f1c8b2e5b66e5fc5b2d (diff)
parentd9c880444d8a403ab6cdb23d614fd53e967841b9 (diff)
downloadgitlab-ce-990d7ecedb75fc893e1409a5150844d59b8a5c0c.tar.gz
Merge branch 'mfluharty-modal-style-border-radius-correction' into 'master'
Apply modal border-radius only to direct children See merge request gitlab-org/gitlab-ce!30645
-rw-r--r--app/assets/stylesheets/framework/modal.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/modal.scss b/app/assets/stylesheets/framework/modal.scss
index b721b90fbb3..68eb9036b65 100644
--- a/app/assets/stylesheets/framework/modal.scss
+++ b/app/assets/stylesheets/framework/modal.scss
@@ -93,12 +93,12 @@ body.modal-open {
.modal-content {
border-radius: $modal-border-radius;
- *:first-child {
+ > :first-child {
border-top-left-radius: $modal-border-radius;
border-top-right-radius: $modal-border-radius;
}
- *:last-child {
+ > :last-child {
border-bottom-left-radius: $modal-border-radius;
border-bottom-right-radius: $modal-border-radius;
}