fix:메뉴관리 하위메뉴 중복 문서아이콘 제거, 실제 아이콘은 전체 표시
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -97,14 +97,10 @@ class="toggle-btn flex items-center text-blue-500 hover:text-blue-700 focus:outl
|
||||
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
</button>
|
||||
@else
|
||||
<svg class="w-4 h-4 text-gray-400 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
|
||||
</svg>
|
||||
@endif
|
||||
|
||||
<div class="flex items-center gap-1.5">
|
||||
@if($menu->icon && ($menu->depth ?? 0) === 0)
|
||||
@if($menu->icon)
|
||||
<x-sidebar.menu-icon :icon="$menu->icon" class="w-4 h-4 flex-shrink-0 text-gray-400" />
|
||||
@endif
|
||||
<span class="text-sm {{ ($menu->depth ?? 0) === 0 ? 'font-semibold text-gray-900' : 'font-medium text-gray-700' }}">
|
||||
|
||||
Reference in New Issue
Block a user