mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 17:06:31 -06:00
DEV: Add additional outlet to user-card next to message
button (#16300)
This commit is contained in:
parent
3fd7b31a2a
commit
2b974d4992
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user