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