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;
|
||||||
|
|
|
@ -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;
|
||||||
|
@ -518,8 +517,10 @@ useTooltip(reactionRef, (showing) => {
|
||||||
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