Adjust margins of navs and searchbar

This commit is contained in:
Björn Fromme
2021-09-06 18:15:33 +02:00
parent 7efd53aa0d
commit 86d874762f
4 changed files with 5 additions and 5 deletions
@@ -3,7 +3,7 @@ lib.breadcrumb {
special = rootline special = rootline
special.range = 1|-1 special.range = 1|-1
1 = TMENU 1 = TMENU
1.wrap = <div class="container mb-8 text-sm text-gray-800 flex">|</div> 1.wrap = <div class="hidden md:flex container mb-8 text-sm text-gray-800">|</div>
1.NO { 1.NO {
stdWrap.htmlSpecialChars = 1 stdWrap.htmlSpecialChars = 1
ATagParams = class="text-gray-400" ATagParams = class="text-gray-400"
@@ -8,7 +8,7 @@ page {
bodyTagCObject = COA bodyTagCObject = COA
bodyTagCObject { bodyTagCObject {
10 = TEXT 10 = TEXT
10.value = <body class="antialiased text-gray-800 font-sans 10.value = <body class="antialiased text-gray-800 font-sans lg:pt-8
20 = TEXT 20 = TEXT
20 { 20 {
field = tx_eptheme_bodyclass field = tx_eptheme_bodyclass
@@ -2,10 +2,10 @@
@apply hidden relative lg:block lg:container -mt-20 mb-8; @apply hidden relative lg:block lg:container -mt-20 mb-8;
&.sticky { &.sticky {
@apply fixed z-50 top-0 left-0 mt-8 mb-0 inset-x-0 shadow-lg; @apply fixed z-50 top-8 left-0 mt-0 mb-0 inset-x-0 shadow-lg;
} }
&.reduced { &.reduced {
@apply max-w-full px-0 mt-8 mb-0; @apply max-w-full px-0 mt-0 mb-0;
} }
} }
@@ -5,7 +5,7 @@
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"> xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
<f:section name="Main"> <f:section name="Main">
<div class="relative z-40 lg:container bg-white lg:mt-8"> <div class="relative z-40 lg:container bg-white">
<div class="flex items-center lg:items-end justify-between px-4 py-2 lg:px-0 lg:pt-4 lg:pb-0"> <div class="flex items-center lg:items-end justify-between px-4 py-2 lg:px-0 lg:pt-4 lg:pb-0">
<a href="{f:uri.typolink(parameter: settings.defaultHomeUid)}" <a href="{f:uri.typolink(parameter: settings.defaultHomeUid)}"
class="block lg:pb-4" class="block lg:pb-4"