mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix wrapping time on comments
This commit is contained in:
@@ -86,7 +86,7 @@ export default defineComponent({
|
||||
const formattedTime = computed(() => {
|
||||
if (props.activity.timestamp) {
|
||||
// timestamp is in iso-8601
|
||||
return format(new Date(props.activity.timestamp), String(i18n.t('date-fns_time')));
|
||||
return format(new Date(props.activity.timestamp), String(i18n.t('date-fns_time_no_seconds')));
|
||||
}
|
||||
|
||||
return null;
|
||||
@@ -181,6 +181,7 @@ export default defineComponent({
|
||||
opacity: 1;
|
||||
transition: opacity var(--slow) var(--transition);
|
||||
pointer-events: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.more.active + .time {
|
||||
|
||||
Reference in New Issue
Block a user