Skip to content

Commit ff331c6

Browse files
authored
fix: top nav subnav spacing and footer overlay (#1095)
* fix: top nav subnav position * fix: footer stays on top on long pages
1 parent 75d044f commit ff331c6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

layouts/partials/footer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<footer
2-
class="relative flex justify-center bg-white px-0 py-24 text-redis-pen-600 border border-t-redis-pen-300 text-[13px] font-sans">
2+
class="relative z-50 flex justify-center bg-white px-0 py-24 text-redis-pen-600 border border-t-redis-pen-300 text-[13px] font-sans">
33
<div class="flex w-full max-w-7xl flex-col gap-6 px-4 md:flex-row lg:px-8">
44
<div class="flex flex-col gap-8 md:max-w-[40%] md:flex-[40%]">
55
<a class="relative hover:text-redis-pen-400 w-[82px] mb-4" href="https://redis.io/">
@@ -10,7 +10,7 @@
1010
<div class="flex flex-row gap-2 items-center"><span>Language</span><span>{{ partial "icons/caret.html" }}</span>
1111
</div>
1212
*/}}
13-
<div class="flex flex-row gap-10 justify-between lg:justify-normal lg:gap-5 lg:order-first">
13+
<div class="flex flex-row gap-5 order-first">
1414
<a class="hover:text-redis-pen-400" href="https://www.facebook.com/Redisinc">
1515
{{ partial "icons/Facebook.html" }}
1616
</a>
@@ -31,7 +31,7 @@
3131
</a>
3232
</div>
3333
</div>
34-
<div class="hidden flex-col gap-4 sm:flex">
34+
<div class="hidden flex-col gap-4 md:flex">
3535
<a class="hover:text-redis-pen-800" href="https://trust.redis.io/">Trust</a>
3636
<a class="hover:text-redis-pen-800" href="https://redis.io/legal/privacy-policy/">Privacy</a>
3737
<a class="hover:text-redis-pen-800" href="https://redis.io/legal/redis-website-terms-of-use/">Terms of use</a>

layouts/partials/header/products-dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div
2-
class="flex flex-col font-sans lg:hidden lg:group-hover:flex lg:absolute lg:left-25 lg:border lg:border-redis-pencil-300 bg-white lg:flex-row lg:rounded-b-md gap-8 text-[15px]">
2+
class="flex flex-col font-sans lg:hidden lg:group-hover:flex lg:absolute lg:left-20 lg:border lg:border-redis-pencil-300 bg-white lg:flex-row lg:rounded-b-md gap-8 text-[15px]">
33
<div class="p-10">
44
<h2 class="mb-6 border-b border-redis-pencil-250 pb-2 text-xs font-medium uppercase tracking-[2px] text-gray-400">
55
Products</h2>

layouts/partials/header/resources-dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div
2-
class="flex flex-col font-sans lg:hidden lg:group-hover:flex lg:absolute lg:left-25 lg:border lg:border-redis-pencil-300 bg-white lg:flex-row lg:rounded-b-md gap-8 text-[15px]">
2+
class="flex flex-col font-sans lg:hidden lg:group-hover:flex lg:absolute lg:left-20 lg:border lg:border-redis-pencil-300 bg-white lg:flex-row lg:rounded-b-md gap-8 text-[15px]">
33
<div class="p-10">
44
<div>
55
<h2 class="mb-6 border-b border-redis-pencil-250 pb-2 text-xs font-medium uppercase tracking-[2px] text-gray-400">

0 commit comments

Comments
 (0)