fix: avoid wrong stacking order of navigation and search bar
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
|
||||
|
||||
<f:section name="Main">
|
||||
<div class="fixed top-0 left-0 inset-x-0 z-40 lg:relative lg:container bg-white shadow-md lg:shadow-none">
|
||||
<div class="fixed top-0 left-0 inset-x-0 z-40 lg:relative lg:z-50 lg:container bg-white shadow-md lg:shadow-none">
|
||||
<div class="flex items-center hover-hover:lg:items-end justify-between px-4 py-2 lg:px-0 lg:pt-4 lg:pb-0">
|
||||
<f:link.typolink parameter="{f:if(condition: settings.logoLink, then: settings.logoLink, else: settings.defaultHomeUid)}"
|
||||
class="block lg:pb-4"
|
||||
@@ -99,7 +99,7 @@
|
||||
</f:section>
|
||||
|
||||
<f:section name="SecondLevel">
|
||||
<div class="absolute top-100 left-0 inset-x-0 pt-4 invisible opacity-0 group-hover:visible group-hover:opacity-100 transition-opacity duration-300 ease-in-out"
|
||||
<div class="absolute top-100 left-0 inset-x-0 pt-4 z-50 invisible opacity-0 group-hover:visible group-hover:opacity-100 transition-opacity duration-300 ease-in-out"
|
||||
aria-hidden="true"
|
||||
aria-labelledby="mainnav-{topitem.data.uid}"
|
||||
data-nav-target="subnav">
|
||||
|
||||
Reference in New Issue
Block a user