chore: formatting

This commit is contained in:
ThatOneCalculator 2023-05-23 18:02:52 -07:00
parent 5cd67283f0
commit 5baa0053c3
4 changed files with 14 additions and 11 deletions

View File

@ -55,7 +55,6 @@ const isMe =
$i &&
`@${props.username}@${toUnicode(props.host)}` ===
`@${$i.username}@${toUnicode(localHost)}`.toLowerCase();
</script>
<style lang="scss" scoped>

View File

@ -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 {

View File

@ -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;

View File

@ -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;
@ -513,13 +512,15 @@ useTooltip(reactionRef, (showing) => {
white-space: nowrap;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
> span:first-child {
opacity: .7;
&::after { content: ": " }
opacity: 0.7;
&::after {
content: ": ";
}
}
> i {