Skip to content

Commit d86aa73

Browse files
authored
[6.x] Fix collection listing dates from wrapping (#14415)
* Fix collection listing dates from wrapping * Fix collection listing badge wrapping
1 parent 6cbefcf commit d86aa73

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

resources/js/components/collections/Listing.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
</div>
9191
</template>
9292
<template #cell-date="{ row: entry }" v-if="collection.dated">
93-
<div class="text-end font-mono text-xs text-gray-500 ps-6">
93+
<div class="text-end font-mono text-xs text-gray-500 ps-6 whitespace-nowrap">
9494
<date-time :of="entry.date.date" date-only />
9595
</div>
9696
</template>
@@ -105,7 +105,7 @@
105105
</div>
106106
</ui-card>
107107

108-
<ui-panel-footer v-if="collection.available_in_selected_site" class="flex items-center gap-6 text-sm text-gray-600 dark:text-gray-400">
108+
<ui-panel-footer v-if="collection.available_in_selected_site" class="flex items-center gap-6 gap-y-1.5 text-sm text-gray-600 dark:text-gray-400">
109109
<div class="flex items-center gap-1.5">
110110
<ui-badge :text="String(collection.published_entries_count)" pill class="bg-white! dark:bg-gray-700! [&_span]:st-text-trim-cap" />
111111
<span>{{ __('Published') }}</span>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<footer class="px-4.5 pt-2.5 md:pt-3 pb-1.5 antialiased" data-ui-panel-footer>
2+
<footer class="flex-wrap px-4.5 pt-2.5 md:pt-3 pb-1.5 antialiased" data-ui-panel-footer>
33
<slot />
44
</footer>
55
</template>

0 commit comments

Comments
 (0)