chore: formatting
This commit is contained in:
parent
41bfbf7df1
commit
3d5b0c5d83
|
@ -55,7 +55,6 @@ const isMe =
|
|||
$i &&
|
||||
`@${props.username}@${toUnicode(props.host)}` ===
|
||||
`@${$i.username}@${toUnicode(localHost)}`.toLowerCase();
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
|
|
@ -663,7 +663,8 @@ defineExpose({
|
|||
padding: 4px 32px 10px;
|
||||
cursor: pointer;
|
||||
|
||||
&:first-child, &:nth-child(2) {
|
||||
&:first-child,
|
||||
&:nth-child(2) {
|
||||
margin-top: -100px;
|
||||
padding-top: 104px;
|
||||
}
|
||||
|
@ -750,7 +751,7 @@ defineExpose({
|
|||
bottom: 2px;
|
||||
background: var(--panel);
|
||||
z-index: -1;
|
||||
transition: background .2s;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
&:first-of-type {
|
||||
margin-left: -0.5em;
|
||||
|
@ -807,7 +808,8 @@ defineExpose({
|
|||
}
|
||||
> .article {
|
||||
padding: 4px 16px 8px;
|
||||
&:first-child, &:nth-child(2) {
|
||||
&:first-child,
|
||||
&:nth-child(2) {
|
||||
padding-top: 104px;
|
||||
}
|
||||
> .main > .header-container > .avatar {
|
||||
|
|
|
@ -414,7 +414,7 @@ function noteClick(e) {
|
|||
bottom: 2px;
|
||||
background: var(--panel);
|
||||
z-index: -1;
|
||||
transition: background .2s;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
&:first-of-type {
|
||||
margin-left: -0.5em;
|
||||
|
@ -452,7 +452,8 @@ function noteClick(e) {
|
|||
inset-inline: 176px !important;
|
||||
}
|
||||
}
|
||||
&.reply, &.reply-to {
|
||||
&.reply,
|
||||
&.reply-to {
|
||||
> .main > .body {
|
||||
margin-right: -24px;
|
||||
padding-right: 24px;
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
:to="notePage(notification.note)"
|
||||
:title="getNoteSummary(notification.note.renote)"
|
||||
>
|
||||
<span>{{ i18n.ts._notification.renoted }}</span>
|
||||
<span>{{ i18n.ts._notification.renoted }}</span>
|
||||
<i class="ph-quotes ph-fill ph-lg"></i>
|
||||
<Mfm
|
||||
:text="getNoteSummary(notification.note.renote)"
|
||||
|
@ -392,7 +392,6 @@ useTooltip(reactionRef, (showing) => {
|
|||
display: flex;
|
||||
contain: content;
|
||||
|
||||
|
||||
&.max-width_500px {
|
||||
padding-block: 16px;
|
||||
font-size: 0.9em;
|
||||
|
@ -518,8 +517,10 @@ useTooltip(reactionRef, (showing) => {
|
|||
text-overflow: ellipsis;
|
||||
|
||||
> span:first-child {
|
||||
opacity: .7;
|
||||
&::after { content: ": " }
|
||||
opacity: 0.7;
|
||||
&::after {
|
||||
content: ": ";
|
||||
}
|
||||
}
|
||||
|
||||
> i {
|
||||
|
|
Loading…
Reference in New Issue