Skip to content

Commit 3ae9161

Browse files
committed
Remove menu zIndex tailwind config
1 parent 79e368f commit 3ae9161

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

assets/tailwind.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ module.exports = {
1515
extend: {
1616
colors: {
1717
current: 'currentColor',
18-
},
19-
zIndex: {
20-
'menu': 'var(--z-menu)'
2118
}
2219
},
2320
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<summary class="block w-48 text-left pl-6 text-base uppercase font-bold tracking-wider">
55
Menu
66
</summary>
7-
<details-menu role="menu" class="absolute z-menu top-full left-0 flex flex-col px-4 py-2 text-left text-lg whitespace-nowrap bg-gray-900 rounded shadow-lg">
7+
<details-menu role="menu" class="absolute z-[var(--z-menu)] top-full left-0 flex flex-col px-4 py-2 text-left text-lg whitespace-nowrap bg-gray-900 rounded shadow-lg">
88
<%= link("React Playground", to: '/react-playground') %>
99
<%= link("Developer Calendar", to: '/calendar') %>
1010
<%= link("Accessibility First", to: '/accessibility-first') %>

0 commit comments

Comments
 (0)