Merge pull request #8258 from drbyte/patch-1

Tables Text-Column: allow Descriptions to wrap
This commit is contained in:
Dan Harrin
2023-09-04 13:37:43 +01:00
committed by GitHub
@@ -50,7 +50,11 @@
}}
>
@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
@@ -184,7 +188,11 @@
</{{ $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