From fc13f6adbec15ef8fe25514b6daac402c2c2ec70 Mon Sep 17 00:00:00 2001 From: Bernardo Cardoso Date: Thu, 28 Mar 2024 11:24:59 +0000 Subject: [PATCH] REmoved :has exceptions --- .../Dropdown/ServerSide/scss/_dropdown-serverside.scss | 8 -------- .../Flatpickr/scss/_flatpickr.scss | 7 ------- 2 files changed, 15 deletions(-) diff --git a/src/scripts/OSFramework/OSUI/Pattern/Dropdown/ServerSide/scss/_dropdown-serverside.scss b/src/scripts/OSFramework/OSUI/Pattern/Dropdown/ServerSide/scss/_dropdown-serverside.scss index c6b0eb055c..f919339685 100644 --- a/src/scripts/OSFramework/OSUI/Pattern/Dropdown/ServerSide/scss/_dropdown-serverside.scss +++ b/src/scripts/OSFramework/OSUI/Pattern/Dropdown/ServerSide/scss/_dropdown-serverside.scss @@ -353,14 +353,6 @@ $balloonMobileTopMargin: 5vh; } } -// Fallback for fierfox that don't support yet :has(), but it's already in development -// https://bugzilla.mozilla.org/show_bug.cgi?id=418039 -.firefox { - .osui-dropdown-serverside__balloon-wrapper.osui-dropdown-serverside--is-opened { - z-index: var(--layer-global-instant-interaction); - } -} - // Inside Form & Popup .form { .osui-dropdown-serverside--is-inside-popup input[data-input] { diff --git a/src/scripts/Providers/OSUI/SharedProviderResources/Flatpickr/scss/_flatpickr.scss b/src/scripts/Providers/OSUI/SharedProviderResources/Flatpickr/scss/_flatpickr.scss index f959ed638c..1ea4ec6bd4 100644 --- a/src/scripts/Providers/OSUI/SharedProviderResources/Flatpickr/scss/_flatpickr.scss +++ b/src/scripts/Providers/OSUI/SharedProviderResources/Flatpickr/scss/_flatpickr.scss @@ -559,13 +559,6 @@ span.flatpickr-weekday { z-index: var(--osui-flatpickr-layer); } -// Exception for firefox support for :has() -@supports not selector(:has(*)) { - .is-rtl .flatpickr-calendar { - --osui-flatpickr-layer: calc(var(--osui-menu-layer) + var(--layer-local-tier-1)); - } -} - // Accessibility ------------------------------------------------------------------ // cannot use has-accessible-features class, as the pickder is detached from its context on layout .osui-datepicker-calendar {