Update text-column.blade.php

This commit is contained in:
Dan Harrin
2023-09-09 23:07:00 +01:00
parent b9b0b75dc1
commit 156d2f26b3
@@ -51,7 +51,12 @@
>
@if (count($arrayState))
@if (filled($descriptionAbove))
<p class="text-sm text-gray-500 dark:text-gray-400">
<p
@class([
'text-sm text-gray-500 dark:text-gray-400',
'whitespace-normal' => $canWrap,
])
>
{{ $descriptionAbove }}
</p>
@endif
@@ -97,7 +102,9 @@
"
@endif
@class([
'flex max-w-max',
'flex' => ! $isBulleted,
'max-w-max' => ! $isBadge,
'w-max' => $isBadge,
'cursor-pointer' => $itemIsCopyable,
])
>
@@ -183,7 +190,12 @@
</{{ $isListWithLineBreaks ? 'ul' : 'div' }}>
@if (filled($descriptionBelow))
<p class="text-sm text-gray-500 dark:text-gray-400">
<p
@class([
'text-sm text-gray-500 dark:text-gray-400',
'whitespace-normal' => $canWrap,
])
>
{{ $descriptionBelow }}
</p>
@endif