mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 03:30:29 +08:00
🚨
This commit is contained in:
parent
23dabc94e8
commit
c3f53b4c3e
@ -219,7 +219,7 @@ export const appearanceMenu = (protyle: IProtyle, nodeElements?: Element[]) => {
|
||||
fontSizePXElement.parentElement.setAttribute("aria-label", fontSizePXElement.value + "px");
|
||||
});
|
||||
fontSizeEMElement.addEventListener("input", function () {
|
||||
fontSizeEMElement.parentElement.setAttribute("aria-label", (parseFloat(fontSizeEMElement.value) * 100).toFixed(0) + "%")
|
||||
fontSizeEMElement.parentElement.setAttribute("aria-label", (parseFloat(fontSizeEMElement.value) * 100).toFixed(0) + "%");
|
||||
});
|
||||
return element;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user