diff --git a/packages/cms/src/ui.js b/packages/cms/src/ui.js index 6b276d43130..4063a97f6d2 100644 --- a/packages/cms/src/ui.js +++ b/packages/cms/src/ui.js @@ -66,6 +66,7 @@ export const { ListingToggleAll, LivePreview, LivePreviewPopout, + MiddleEllipsis, Modal, ModalClose, ModalTitle, diff --git a/resources/css/components/assets.css b/resources/css/components/assets.css index 248c2d9efe1..d1a1b7cee4e 100644 --- a/resources/css/components/assets.css +++ b/resources/css/components/assets.css @@ -120,7 +120,7 @@ grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); [data-placeholder-shown] { - @apply overflow-hidden mt-2 text-center font-mono text-xs text-ellipsis whitespace-nowrap lowercase; + @apply overflow-hidden mt-2 text-center text-xs text-ellipsis whitespace-nowrap lowercase; &:has(+ .st-has-error) { @apply text-red-600 dark:text-red-500; } @@ -158,7 +158,8 @@ } .asset-filename { - @apply font-mono text-xs text-gray-500 dark:text-gray-300 mt-2 whitespace-nowrap text-center; + @apply text-xs text-gray-500 dark:text-gray-300 mt-2 whitespace-nowrap text-center st-text-legibility; + font-variant: tabular-nums; /* Disable common-ligatures from body default */ .selected & { @apply text-blue-500; .dark & { diff --git a/resources/js/bootstrap/cms/ui.js b/resources/js/bootstrap/cms/ui.js index adf68ff74ce..28803da78b0 100644 --- a/resources/js/bootstrap/cms/ui.js +++ b/resources/js/bootstrap/cms/ui.js @@ -66,6 +66,7 @@ export { ListingToggleAll, LivePreview, LivePreviewPopout, + MiddleEllipsis, Modal, ModalClose, ModalTitle, diff --git a/resources/js/components/assets/Browser/Grid.vue b/resources/js/components/assets/Browser/Grid.vue index c3513ce3fd7..a58c9dcf7c3 100644 --- a/resources/js/components/assets/Browser/Grid.vue +++ b/resources/js/components/assets/Browser/Grid.vue @@ -37,7 +37,7 @@