From 2e2869d13c67c897a658bf4d5de4a451f6048393 Mon Sep 17 00:00:00 2001 From: "michael.danielczok" <michael@pcsg.de> Date: Wed, 7 Jun 2023 13:31:11 +0200 Subject: [PATCH] refactor: Small design adjustment [LanguageSwitches/DropDown] --- src/QUI/Bricks/Controls/LanguageSwitches/DropDown.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/QUI/Bricks/Controls/LanguageSwitches/DropDown.css b/src/QUI/Bricks/Controls/LanguageSwitches/DropDown.css index 3ddda57..c404929 100644 --- a/src/QUI/Bricks/Controls/LanguageSwitches/DropDown.css +++ b/src/QUI/Bricks/Controls/LanguageSwitches/DropDown.css @@ -35,7 +35,6 @@ display: none; top: 100%; position: absolute; - padding: 1rem; min-width: 10rem; max-width: min(15rem, 240px); } @@ -51,12 +50,17 @@ .quiqqer-control-languageswitch-dropdown-dd-entry { display: block; color: inherit; - padding-block: 0.25em; + padding: 0.75em; } .quiqqer-control-languageswitch-dropdown-dd-entry.inactive { opacity: 0.5; pointer-events: none; + cursor: default; +} + +.quiqqer-control-languageswitch-dropdown-dd-entry:hover { + background-color: rgba(0, 0, 0, 0.1); } .quiqqer-control-languageswitch-dropdown-dd-icon { -- GitLab