Fix fg color in darkmode and larger annotator popup

This commit is contained in:
chrox
2024-12-01 18:24:07 +01:00
parent e851582264
commit d6bfbbc0b6
2 changed files with 3 additions and 2 deletions
@@ -58,8 +58,8 @@ const Annotator: React.FC<{ bookKey: string }> = ({ bookKey }) => {
settings.globalReadSettings.highlightStyles[selectedStyle],
);
const dictPopupWidth = 400;
const dictPopupHeight = 300;
const dictPopupWidth = 480;
const dictPopupHeight = 360;
const annotPopupWidth = 280;
const annotPopupHeight = 44;
const popupPadding = 10;
+1
View File
@@ -75,6 +75,7 @@ const getLayoutStyles = (
tab-size: 2;
}
body {
color: ${fg};
zoom: ${zoomLevel}%;
background-color: ${bg} !important;
}