Fix fg color in darkmode and larger annotator popup
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -75,6 +75,7 @@ const getLayoutStyles = (
|
||||
tab-size: 2;
|
||||
}
|
||||
body {
|
||||
color: ${fg};
|
||||
zoom: ${zoomLevel}%;
|
||||
background-color: ${bg} !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user