forked from AkkomaGang/akkoma-fe
Better edited_at styling
This commit is contained in:
parent
22ceb1772a
commit
d60c629a86
4 changed files with 16 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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?",
|
||||||
|
|
Loading…
Reference in a new issue