mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 11:44:44 +08:00
UX: ensures pinned options icon is not on a new line (#8845)
This commit is contained in:
parent
1d54e78311
commit
ca63502ce6
|
@ -13,7 +13,7 @@ export default DropdownSelectBoxComponent.extend({
|
|||
const state = pinned === "pinned" ? `pinned${globally}` : "unpinned";
|
||||
const title = I18n.t(`topic_statuses.${state}.title`);
|
||||
|
||||
content.label = `${title}${iconHTML("caret-down")}`.htmlSafe();
|
||||
content.label = `<span>${title}</span>${iconHTML("caret-down")}`.htmlSafe();
|
||||
content.title = title;
|
||||
content.name = state;
|
||||
content.icon = `thumbtack${state === "unpinned" ? " unpinned" : ""}`;
|
||||
|
|
Loading…
Reference in New Issue
Block a user