Skip to content

Commit 5a0b752

Browse files
Merge pull request #1044 from wjohnsto/fix/nav-bg-shade
Fixing bg shade on products and resources dropdowns
2 parents ee63794 + d9e357f commit 5a0b752

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

layouts/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<header
2-
class="sticky top-0 z-50 w-full border-b border-redis-pen-300 bg-white text-midnight-900 font-mono text-[15px] flex justify-center">
2+
class="sticky top-0 h-[70px] z-50 w-full border-b border-redis-pen-300 bg-white text-midnight-900 font-mono text-[15px] flex justify-center">
33
{{/* {{ partial "banner.html" . }} */}}
44
<div class="flex h-[70px] px-4 lg:pl-11 lg:pr-0 items-center self-center grow">
55
<a class="relative text-redis-red-500 w-[82px] -mt-[5px] mr-[4px]" href="https://redis.io/">

layouts/partials/header/products-dropdown.html

Lines changed: 4 additions & 4 deletions
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:p-8 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-25 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>
@@ -41,14 +41,14 @@ <h2 class="mb-6 border-b border-redis-pencil-250 pb-2 text-xs font-medium upperc
4141
</ul>
4242

4343
</div>
44-
<div class="flex flex-col bg-redis-neutral-200 p-10">
44+
<div class="flex flex-col bg-redis-neutral-200 p-8">
4545
<div class="mb-4">
4646
<h2 class="mb-6 border-b border-redis-pencil-250 pb-2 text-xs font-medium uppercase tracking-[2px] text-gray-400">
4747
Tools</h2>
4848
<ul class="space-y-4">
49-
<li class="w-[16rem]"><a class="font-medium hover:text-redis-red-500" href="https://redis.io/insight/">Redis
49+
<li><a class="font-medium hover:text-redis-red-500" href="https://redis.io/insight/">Redis
5050
Insight</a></li>
51-
<li class="w-[16rem]"><a class="font-medium hover:text-redis-red-500" href="https://redis.io/clients/">Clients
51+
<li><a class="font-medium hover:text-redis-red-500" href="https://redis.io/clients/">Clients
5252
and connectors</a></li>
5353
</ul>
5454
</div>

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:p-8 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-25 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">

tailwind.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ module.exports = {
5858
900: '#091A23'
5959
},
6060
'redis-neutral': {
61+
200: '#F9F9F9',
62+
600: '#bfc2c4',
6163
800: '#4E545B'
6264
}
6365
},

0 commit comments

Comments
 (0)