Better edited_at styling

This commit is contained in:
eris 2022-09-07 08:40:43 +00:00
parent 22ceb1772a
commit d60c629a86
4 changed files with 16 additions and 4 deletions

View file

@ -8,7 +8,7 @@ import {
faThumbtack, faThumbtack,
faShareAlt, faShareAlt,
faQuoteLeft, faQuoteLeft,
faExternalLinkAlt faExternalLinkAlt,
faHistory faHistory
} from '@fortawesome/free-solid-svg-icons' } from '@fortawesome/free-solid-svg-icons'
import { import {

View file

@ -162,15 +162,23 @@
& .heading-reply-row, & .heading-reply-row,
& .heading-edited-row { & .heading-edited-row {
position: relative;
align-content: baseline; align-content: baseline;
font-size: 0.85em; font-size: 0.85em;
margin-top: 0.2em;
line-height: 130%; line-height: 130%;
max-width: 100%; max-width: 100%;
align-items: stretch; align-items: stretch;
} }
& .heading-reply-row {
position: relative;
margin-top: 0.2em;
}
& .heading-edited-row {
position: absolute;
right: 12px;
}
& .reply-to-popover, & .reply-to-popover,
& .reply-to-no-popover, & .reply-to-no-popover,
& .mentions { & .mentions {

View file

@ -331,7 +331,7 @@
</div> </div>
<div <div
v-if="isEdited && editingAvailable && !isPreview" v-if="isEdited && editingAvailable && !isPreview"
class="heading-edited-row" class="heading-edited-row faint-link"
> >
<i18n-t <i18n-t
keypath="status.edited_at" keypath="status.edited_at"

View file

@ -822,6 +822,10 @@
"delete_confirm": "Do you really want to delete this status?", "delete_confirm": "Do you really want to delete this status?",
"reply_to": "Reply to", "reply_to": "Reply to",
"delete_confirm_title": "Confirm deletion", "delete_confirm_title": "Confirm deletion",
"edit": "Edit",
"edited_at": "Edited {time}",
"edit_history": "Edit History",
"edit_history_modal_title": "Edited {historyCount} time | Edited {historyCount} times",
"delete_confirm_accept_button": "Yes, delete it", "delete_confirm_accept_button": "Yes, delete it",
"delete_confirm_cancel_button": "No, keep it", "delete_confirm_cancel_button": "No, keep it",
"repeat_confirm": "Do you really want to repeat this status?", "repeat_confirm": "Do you really want to repeat this status?",