Prevent comment id, page and date from being shrinked

This commit is contained in:
Timothée Goguely 2024-10-30 15:22:01 +01:00
parent 066ed66ea6
commit 5e227d9fc3

View file

@ -8,7 +8,7 @@
</template>
<span class="comment__page">Page {{ comment.file.pageIndex }}</span>
<time :datetime="dayjs(comment.date).format('YYYY-MM-DD')">{{
<time class="comment__date" :datetime="dayjs(comment.date).format('YYYY-MM-DD')">{{
formatDate(comment.date)
}}</time>
</p>
@ -137,6 +137,11 @@ async function readNotification(notificationId) {
.comment[data-opened="true"] .comment__replies {
color: var(--color-primary);
}
.comment__id,
.comment__page,
.comment__date {
flex-shrink: 0;
}
.comment__ctas > * {
--border-color: transparent;
margin-right: var(--space-4);