reply line fixes

This commit is contained in:
Freeplay 2023-06-17 16:35:11 -04:00
parent 8a85c8b5c5
commit 1b16deabc2
2 changed files with 9 additions and 5 deletions

View File

@ -619,10 +619,11 @@ defineExpose({
.line::before {
content: "";
display: block;
margin-bottom: -10px;
margin-bottom: -4px;
margin-top: 16px;
border-left: 2px solid var(--X13);
border-left: 2px solid currentColor;
margin-left: calc((var(--avatarSize) / 2) - 1px);
opacity: .25;
}
}
}

View File

@ -431,6 +431,7 @@ function noteClick(e) {
> .avatar-container {
margin-right: 8px;
z-index: 2;
> .avatar {
flex-shrink: 0;
display: block;
@ -651,10 +652,11 @@ function noteClick(e) {
flex-grow: 1;
margin-bottom: -10px;
pointer-events: none;
opacity: .25;
&::before {
content: "";
position: absolute;
border-left: 2px solid var(--X13);
border-left: 2px solid currentColor;
margin-left: calc((var(--avatarSize) / 2) - 1px);
width: calc(var(--indent) / 2);
inset-block: 0;
@ -692,11 +694,12 @@ function noteClick(e) {
z-index: 2;
left: 0;
top: 0;
opacity: .25;
&::after {
content: "";
position: absolute;
border-left: 2px solid var(--X13);
border-bottom: 2px solid var(--X13);
border-left: 2px solid currentColor;
border-bottom: 2px solid currentColor;
margin-left: calc((var(--avatarSize) / 2) - 1px);
width: calc(var(--indent) / 2);
height: calc((var(--avatarSize) / 2));