From 4243fe48b04664180ff89b633d0415662884842f Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Wed, 15 Jan 2025 16:23:51 +0100 Subject: [PATCH] fix: added possibility for further entries --- .../language-switcher/language-switcher.scss | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/source/_patterns/02-components/language-switcher/language-switcher.scss b/source/_patterns/02-components/language-switcher/language-switcher.scss index 684dcb59eb..cca8f3a198 100644 --- a/source/_patterns/02-components/language-switcher/language-switcher.scss +++ b/source/_patterns/02-components/language-switcher/language-switcher.scss @@ -63,6 +63,38 @@ [aria-selected="true"] ) { @include set-top(6); + + & + ~ li:not( + [aria-current="page"], + [aria-selected="true"] + ) { + @include set-top(7); + + & + ~ li:not( + [aria-current="page"], + [aria-selected="true"] + ) { + @include set-top(8); + + & + ~ li:not( + [aria-current="page"], + [aria-selected="true"] + ) { + @include set-top(9); + + & + ~ li:not( + [aria-current="page"], + [aria-selected="true"] + ) { + @include set-top(10); + } + } + } + } } } }