Draw the menu separator without Tailwind
The separator renders data-md-menu-separator and takes its 1px line, 8px block margin and 16px inset from menu-separator.css in material.components (plan step 36, actions). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qwx5USif3wFFmxtHg5U1g9
This commit is contained in:
co-authored by
Claude Opus 5
parent
b573cfbcc2
commit
6df034f81a
@@ -1,4 +1,4 @@
|
||||
{{-- A line between groups of items in an `<x-menu>`: 1px, with M3's 8px above and below it, inset
|
||||
to the 16px the items keep either side. --}}
|
||||
to the 16px the items keep either side. Drawn by resources/css/components/menu-separator.css. --}}
|
||||
|
||||
<hr role="separator" {{ $attributes->class('mx-4 my-2 h-px border-0 bg-outline-variant') }} />
|
||||
<hr role="separator" data-md-menu-separator {{ $attributes }} />
|
||||
|
||||
Reference in New Issue
Block a user