DEV: Add additional outlet to user-card next to message button (#16300)

This commit is contained in:
Jordan Vidrine 2022-03-28 11:56:43 -05:00 committed by GitHub
parent 3fd7b31a2a
commit 2b974d4992
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -73,6 +73,10 @@
label="user.private_message"}}
</li>
{{/if}}
{{plugin-outlet
name="user-card-below-message-button" connectorTagName="li"
args=(hash user=this.user close=(action "close"))
tagName=""}}
{{#if this.showFilter}}
<li>
{{d-button

View File

@ -23,7 +23,7 @@ $avatar_width: 120px;
flex-wrap: wrap;
margin: 1em calc(var(--usercard-control-margin) * -1) 0;
li {
flex: 1 0 auto;
flex: 1 0 calc(50% - (var(--usercard-control-margin) * 2));
min-width: 0;
margin: 0 var(--usercard-control-margin);
&:empty {
@ -31,6 +31,7 @@ $avatar_width: 120px;
}
button {
@include ellipsis;
margin-bottom: calc(var(--usercard-control-margin) * 2);
}
}
}