zotero/chrome/content
Bogdan Abaev 37991e220e use Icons.getCSSIcon instead of getDOMElement (#4338)
- getDOMElement relied on React.renderToStaticMarkup,
which is react 18 was moved to a different file than the
one exposed with react-dom-server. To not add another
file just for that one function, replace getDOMElement
with getCSSIcon.
- getDOMElement was mainly used for a few remaining
png icons that were not replaced with svg. For those
few icons, just record which background-url should be
set when the module loads and add it in getCSSIcon if
applicable. Alternatively, background-image setting
could be moved into a stylesheet?
- a few hardcoded twisty svgs in icons.jsx are not used anywhere
(they would be fetched via IconTwisty), so those are
removed
2024-07-10 01:04:28 -04:00
..
scaffold Fix scaffold window UI (#4339) 2024-07-09 04:02:52 -04:00
zotero use Icons.getCSSIcon instead of getDOMElement (#4338) 2024-07-10 01:04:28 -04:00
zotero-platform fx115: Citation dialog fixes (#3889) 2024-04-05 12:07:24 +03:00