From a86a48ca63d6e1e58c51c40b8e5d059bc6f71433 Mon Sep 17 00:00:00 2001 From: Lennert Claeys Date: Fri, 9 Sep 2022 14:57:32 +0200 Subject: [PATCH 1/3] Move close-button css inside dialog-base --- src/components/dialog/theme.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/dialog/theme.css b/src/components/dialog/theme.css index e9777a4e1..dc559ad7a 100644 --- a/src/components/dialog/theme.css +++ b/src/components/dialog/theme.css @@ -29,6 +29,10 @@ transition-delay: var(--animation-delay); width: 100vw; z-index: 2; + + .close-icon { + margin-left: auto; + } } .inner { @@ -90,10 +94,6 @@ padding: var(--spacer-regular); } -.close-icon { - margin-left: auto; -} - .scroll-shadow { box-shadow: 0px 0px 1px rgba(130, 130, 140, 0.09), 0px 0px 0px rgba(130, 130, 140, 0.09), 0px -4px 8px rgba(130, 130, 140, 0.09); From e5add391d6c0d793b20d6ae0770b96d1db902f9e Mon Sep 17 00:00:00 2001 From: Lennert Claeys Date: Mon, 12 Sep 2022 08:55:12 +0200 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4130af705..bd495033c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ ### Fixed +- `Dialog`: Fix close button alignment in cases where css order changes during build. ([@lorgan3](https://github.com/lorgan3)) in [#2351](https://github.com/teamleadercrm/ui/pull/2351)) + ### Dependency updates ## [16.0.3] - 2022-09-05 From 7741d2fbd0c82919f2510855b2996a72b56c4470 Mon Sep 17 00:00:00 2001 From: Lennert Claeys Date: Mon, 12 Sep 2022 08:55:35 +0200 Subject: [PATCH 3/3] Lint changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd495033c..ba52a3aa5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ ### Dependency updates -- `storybook`: Bump storybook from 6.5.9 to 6.5.10 ([@KristofColpaert](https://github.com/KristofColpaert)) in [#2327](https://github.com/teamleadercrm/ui/pull/2327) +- `storybook`: Bump storybook from 6.5.9 to 6.5.10 ([@KristofColpaert](https://github.com/KristofColpaert)) in [#2327](https://github.com/teamleadercrm/ui/pull/2327) ## [16.0.1] - 2022-08-08