mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 11:14:42 +08:00
UX: ensures pinned options icon is not on a new line (#8845)
This commit is contained in:
@ -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" : ""}`;
|
||||
|
Reference in New Issue
Block a user