We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e62334 commit 8b467abCopy full SHA for 8b467ab
packages/framework/resources/views/components/docs/table-of-contents.blade.php
@@ -1,7 +1,7 @@
1
@props(['items', 'isChild' => false])
2
3
@if(! empty($items))
4
- <ul class="{{ $isChild ? 'pl-2' : 'table-of-contents pb-3' }}">
+ <ul @class(['pl-2' ? $isChild : 'table-of-contents pb-3'])>
5
@foreach($items as $item)
6
<li class="my-0.5">
7
<a href="#{{ $item['identifier'] }}" class="-ml-8 pl-8 opacity-80 hover:opacity-100 hover:bg-gray-200/20 transition-all duration-300">
0 commit comments