Moving z-index values to be positive

Pushing the z-index values to start at 0 instead of going negative to
simplify and address issue with tooltip visibility in the Settings/Prefs
area after a merge+rebase.

Signed-off-by: Máirín Duffy <duffy@redhat.com>
This commit is contained in:
Máirín Duffy 2023-05-11 14:39:18 -04:00 committed by Tim deBoer
parent 486f2cd52e
commit d140776e6d
3 changed files with 4 additions and 4 deletions

View file

@ -82,7 +82,7 @@ window.events?.receive('display-help', () => {
{/if}
<div
class="-z-3 w-full h-full min-h-fit flex flex-col overflow-y-scroll"
class="z-0 w-full h-full min-h-fit flex flex-col overflow-y-scroll"
class:bg-charcoal-700="{!meta.url.startsWith('/preferences')}"
class:bg-charcoal-800="{meta.url.startsWith('/preferences')}">
<TaskManager />

View file

@ -90,7 +90,7 @@ export let meta;
<svelte:window />
<nav
class="pf-c-nav -z-1 group w-[54px] min-w-[54px] flex flex-col justify-between hover:overflow-y-none top-0"
class="pf-c-nav z-[9] group w-[54px] min-w-[54px] flex flex-col justify-between hover:overflow-y-none top-0"
style="position: sticky"
aria-label="Global">
<ul class="pf-c-nav__list">

View file

@ -49,8 +49,8 @@ $: addSectionHiddenClass = (section: string): string => (sectionExpanded[section
</script>
<nav
class="pf-c-nav -z-2 w-[250px] min-w-[200px] flex-col justify-between flex transition-all duration-500 ease-in-out shadow-nav top-0"
style="background-color: rgb(39 39 42 / var(--tw-bg-opacity)); position: sticky"
class="z-1 pf-c-nav w-[250px] min-w-[200px] shadow flex-col justify-between flex transition-all duration-500 ease-in-out"
style="background-color: rgb(39 39 42 / var(--tw-bg-opacity))"
aria-label="Global">
<div class="flex items-center">
<div class="pt-4 px-5 mb-10">