mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
UX: Make table wrapper popup button icon only (#20820)
This commit is contained in:
parent
e47af9bb72
commit
c66323f964
@ -141,16 +141,15 @@ export default {
|
||||
"open-popup-link",
|
||||
"btn-default",
|
||||
"btn",
|
||||
"btn-icon-text",
|
||||
"btn-expand-table"
|
||||
"btn-icon",
|
||||
"btn-expand-table",
|
||||
"no-text"
|
||||
);
|
||||
const expandIcon = create(
|
||||
iconNode("discourse-expand", { class: "expand-table-icon" })
|
||||
);
|
||||
const openPopupText = document.createTextNode(
|
||||
I18n.t("fullscreen_table.expand_btn")
|
||||
);
|
||||
openPopupBtn.append(expandIcon, openPopupText);
|
||||
openPopupBtn.title = I18n.t("fullscreen_table.expand_btn");
|
||||
openPopupBtn.append(expandIcon);
|
||||
return openPopupBtn;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user