From 671944cce1a719d0f12066d0963f39d8cac8fe90 Mon Sep 17 00:00:00 2001 From: Anastasiia Stavitskaya Date: Wed, 3 Apr 2024 12:47:05 -0700 Subject: [PATCH] Remove @supports selector() from css --- .../GlobalNavigation/global-navigation.css | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/src/components/navigation/GlobalNavigation/global-navigation.css b/src/components/navigation/GlobalNavigation/global-navigation.css index a1048b749..4789b4193 100644 --- a/src/components/navigation/GlobalNavigation/global-navigation.css +++ b/src/components/navigation/GlobalNavigation/global-navigation.css @@ -34,21 +34,19 @@ } /* Otherwise, use `::-webkit-scrollbar-*` pseudo-elements */ -@supports selector(::-webkit-scrollbar) { - .globalNavigation::-webkit-scrollbar { - /* stylelint-disable-next-line property-no-vendor-prefix */ - -webkit-appearance: none; - width: var(--size-scrollbar-handle); - height: var(--size-scrollbar-handle); - } +.globalNavigation::-webkit-scrollbar { + /* stylelint-disable-next-line property-no-vendor-prefix */ + -webkit-appearance: none; + width: var(--size-scrollbar-handle); + height: var(--size-scrollbar-handle); +} - .globalNavigation::-webkit-scrollbar-track { - background-color: var(--color-scrollbar-track); - } +.globalNavigation::-webkit-scrollbar-track { + background-color: var(--color-scrollbar-track); +} - .globalNavigation::-webkit-scrollbar-thumb { - background-color: var(--color-scrollbar-handle); - } +.globalNavigation::-webkit-scrollbar-thumb { + background-color: var(--color-scrollbar-handle); } .globalNavigation__sider {