From 50522f1e6bbd9e68d15d757f0de88138c393e877 Mon Sep 17 00:00:00 2001 From: Tara Epp <102187683+taraepp@users.noreply.github.com> Date: Thu, 18 Jul 2024 11:29:12 -0600 Subject: [PATCH] [FIX] Modal Button Styling (#3188) * fix modal button stylign * Delete services/minespace-web/src/styles/components/ScrollSideMenuWrapper.scss accidental commit, unrelated to branch * Update index.scss accidental commit --- services/minespace-web/src/styles/index.scss | 2 +- .../src/styles/overrides/antd-overrides.scss | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/services/minespace-web/src/styles/index.scss b/services/minespace-web/src/styles/index.scss index 72a163bafe..54a240af26 100755 --- a/services/minespace-web/src/styles/index.scss +++ b/services/minespace-web/src/styles/index.scss @@ -44,4 +44,4 @@ @import "./components/SideNavigation.scss"; // UTILITIES - utilities and helper classes. This layer has the highest specificity. -@import "./generic/helpers.scss"; \ No newline at end of file +@import "./generic/helpers.scss"; diff --git a/services/minespace-web/src/styles/overrides/antd-overrides.scss b/services/minespace-web/src/styles/overrides/antd-overrides.scss index 6f52da9cd1..3b47dac00b 100644 --- a/services/minespace-web/src/styles/overrides/antd-overrides.scss +++ b/services/minespace-web/src/styles/overrides/antd-overrides.scss @@ -381,6 +381,24 @@ th.ant-descriptions-item.vertical-description { // Modals .ant-modal { + + .ant-btn.modal__close { + position: absolute; + top: 7px; + color: $gov-blue; + font-size: 24px; + right: 14px; + z-index: 999; + border: none; + padding: 0; + width: 40px; + height: 40px; + + svg { + margin: 10px; + } + } + &-content { border-radius: 0; background-clip: border-box;