From c10d15744b78ed55cf114f3c82c652ac06e6f026 Mon Sep 17 00:00:00 2001 From: Edmundo Ruiz Ghanem Date: Wed, 25 Jan 2023 11:17:04 -0500 Subject: [PATCH] Remove z-index rule from Switch component handle --- airbyte-webapp/src/components/ui/Switch/Switch.module.scss | 2 -- airbyte-webapp/src/scss/_z-indices.scss | 1 - 2 files changed, 3 deletions(-) diff --git a/airbyte-webapp/src/components/ui/Switch/Switch.module.scss b/airbyte-webapp/src/components/ui/Switch/Switch.module.scss index d80cde9fe103..8b522f92fba3 100644 --- a/airbyte-webapp/src/components/ui/Switch/Switch.module.scss +++ b/airbyte-webapp/src/components/ui/Switch/Switch.module.scss @@ -1,6 +1,5 @@ @use "scss/colors"; @use "scss/variables"; -@use "scss/z-indices"; @mixin knob-transform($position, $size) { @if $position == left { @@ -99,7 +98,6 @@ &::before { position: absolute; - z-index: z-indices.$switchSliderBefore; content: ""; background: colors.$white; transition: variables.$transition; diff --git a/airbyte-webapp/src/scss/_z-indices.scss b/airbyte-webapp/src/scss/_z-indices.scss index 752c0b00ecb3..b33a1bf73559 100644 --- a/airbyte-webapp/src/scss/_z-indices.scss +++ b/airbyte-webapp/src/scss/_z-indices.scss @@ -6,6 +6,5 @@ $sidebar: 9999; $schemaChangesBackdropContent: 4; $schemaChangesBackdrop: 3; $dropdownMenu: 2; -$switchSliderBefore: 1; $tableScroll: 1; $panelSplitter: 0;