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 state = pinned === "pinned" ? `pinned${globally}` : "unpinned";
|
||||||
const title = I18n.t(`topic_statuses.${state}.title`);
|
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.title = title;
|
||||||
content.name = state;
|
content.name = state;
|
||||||
content.icon = `thumbtack${state === "unpinned" ? " unpinned" : ""}`;
|
content.icon = `thumbtack${state === "unpinned" ? " unpinned" : ""}`;
|
||||||
|
|
Loading…
Reference in New Issue