summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormfluharty <mfluharty@gitlab.com>2019-07-11 13:21:29 -0600
committermfluharty <mfluharty@gitlab.com>2019-07-11 13:21:29 -0600
commitd9c880444d8a403ab6cdb23d614fd53e967841b9 (patch)
treef907890b04918bb5ece3a2a59e7a71690dd414bd
parentb2f61487fb7edce60f60f8ed648ce437399b19e9 (diff)
downloadgitlab-ce-d9c880444d8a403ab6cdb23d614fd53e967841b9.tar.gz
Apply modal border-radius only to direct childrenmfluharty-modal-style-border-radius-correction
-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;
}