Skip to content

Commit

Permalink
Merge pull request #193 from mParticle/fix/cortex-unsupported-css-syntax
Browse files Browse the repository at this point in the history
fix: remove "@supports selector()" from css
  • Loading branch information
nastyastavitskaya authored Apr 5, 2024
2 parents c53fd65 + 671944c commit 5b93945
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions src/components/navigation/GlobalNavigation/global-navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5b93945

Please sign in to comment.