From 4a7814688c1c407bea8d96eb47e73897274cea4d Mon Sep 17 00:00:00 2001 From: imagoiq <12294151+imagoiq@users.noreply.github.com> Date: Wed, 6 Dec 2023 13:56:26 +0100 Subject: [PATCH] fix(internet-header): Close button on click or on focus in the help overlay moves --- .changeset/pink-tomatoes-cross.md | 5 +++++ .../post-internet-breadcrumbs/post-internet-breadcrumbs.scss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/pink-tomatoes-cross.md diff --git a/.changeset/pink-tomatoes-cross.md b/.changeset/pink-tomatoes-cross.md new file mode 100644 index 0000000000..a655441f27 --- /dev/null +++ b/.changeset/pink-tomatoes-cross.md @@ -0,0 +1,5 @@ +--- +'@swisspost/internet-header': patch +--- + +Fixed position of close button on click or on focus in the help overlay. diff --git a/packages/internet-header/src/components/post-internet-breadcrumbs/post-internet-breadcrumbs.scss b/packages/internet-header/src/components/post-internet-breadcrumbs/post-internet-breadcrumbs.scss index 3c1cb2cbaa..21b1d9a6cb 100644 --- a/packages/internet-header/src/components/post-internet-breadcrumbs/post-internet-breadcrumbs.scss +++ b/packages/internet-header/src/components/post-internet-breadcrumbs/post-internet-breadcrumbs.scss @@ -184,7 +184,7 @@ iframe { } .overlay-close { - position: absolute; + position: absolute !important; top: 1rem; right: 1rem; // ca. Scrollbar width cursor: pointer;