Skip to content

Commit e633d9c

Browse files
committed
Improve primary menu
1 parent 7f137bf commit e633d9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/components_guide_web/templates/layout/_banner.html.eex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<header role=banner class="bg-gray-900 text-white">
2-
<nav role="navigation" class="w-full flex items-center lg:px-16 text-base md:text-lg text-center">
2+
<nav role="navigation" class="w-full flex items-center lg:px-16 text-base text-center">
33
<a href="/" class="block px-3 py-2 md:py-4 text-left text-sm md:text-base font-bold italic uppercase leading-tight tracking-wide hover:bg-gray-800">
44
<span>Components <br>·Guide</span>
55
</a>
@@ -9,8 +9,8 @@
99
</div>
1010
<hr class="mx-auto">
1111
<details class="relative" data-links="block p-3 underline-on-hover">
12-
<summary class="uppercase">Menu</summary>
13-
<details-menu role="menu" class="absolute z-menu top-full right-0 flex flex-col text-sm whitespace-nowrap bg-gray-900 rounded shadow-lg text-xl p-2">
12+
<summary class="text-base uppercase font-bold tracking-wider">Menu</summary>
13+
<details-menu role="menu" class="absolute z-menu top-full right-0 flex flex-col px-4 py-2 text-left text-lg whitespace-nowrap bg-gray-900 rounded shadow-lg">
1414
<%= link("Developer Calendar", to: '/calendar') %>
1515
<%= link("Accessibility First", to: '/accessibility-first') %>
1616
<%= link("React + TypeScript", to: '/react+typescript') %>

0 commit comments

Comments
 (0)