From d9c880444d8a403ab6cdb23d614fd53e967841b9 Mon Sep 17 00:00:00 2001 From: mfluharty Date: Thu, 11 Jul 2019 13:21:29 -0600 Subject: [PATCH] Apply modal border-radius only to direct children --- app/assets/stylesheets/framework/modal.scss | 4 ++-- 1 file 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; }