-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I should use classes for TAG_LINKS instead of inline styles, everywhere.
Aszazin:
Is it possible to add a class to the div element for the tags in the sidebar that says “:arrow_lower_left:mine and others’” ?
Reason is I am not able to adjust that part to my dark mode without risking unexpected side effects.
(It’s on line 1280 of your code)
tagZone.parentNode.insertBefore(createTag("div", {s: {position: "relative", bottom: "-1rem", color: "black", fontWeight: "normal", "float": "right"}}, ["↙", createTag("span", {s: {backgroundColor: "#B1EBB0"}}, "mine"), " and others’"]), tagZone.previousSibling); |
kellnerd:
Yeah, that would be nice. Even better would be to avoid inline styles in HTML altogether.
Currently I have to resort to a very ugly hack to work around that
I will probably limit this ticket to TAG_LINKS, otherwise I will never have time to fix it globally, without other reports.