mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -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"}}
|
label="user.private_message"}}
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{plugin-outlet
|
||||||
|
name="user-card-below-message-button" connectorTagName="li"
|
||||||
|
args=(hash user=this.user close=(action "close"))
|
||||||
|
tagName=""}}
|
||||||
{{#if this.showFilter}}
|
{{#if this.showFilter}}
|
||||||
<li>
|
<li>
|
||||||
{{d-button
|
{{d-button
|
||||||
|
@ -23,7 +23,7 @@ $avatar_width: 120px;
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin: 1em calc(var(--usercard-control-margin) * -1) 0;
|
margin: 1em calc(var(--usercard-control-margin) * -1) 0;
|
||||||
li {
|
li {
|
||||||
flex: 1 0 auto;
|
flex: 1 0 calc(50% - (var(--usercard-control-margin) * 2));
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
margin: 0 var(--usercard-control-margin);
|
margin: 0 var(--usercard-control-margin);
|
||||||
&:empty {
|
&:empty {
|
||||||
@ -31,6 +31,7 @@ $avatar_width: 120px;
|
|||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
@include ellipsis;
|
@include ellipsis;
|
||||||
|
margin-bottom: calc(var(--usercard-control-margin) * 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user