chore: formatting

This commit is contained in:
ThatOneCalculator 2023-05-23 18:02:52 -07:00
parent 41bfbf7df1
commit 3d5b0c5d83
No known key found for this signature in database
GPG key ID: 8703CACD01000000
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 {