doc: add TXT to supported formats list (#708)

* fix: set max width for annotation toolbar

* doc: add TXT to supported formats list
This commit is contained in:
Huang Xin
2025-03-26 02:35:59 +08:00
parent 835ed443a5
commit b7f4a3503f
2 changed files with 2 additions and 2 deletions
@@ -77,7 +77,7 @@ const Annotator: React.FC<{ bookKey: string }> = ({ bookKey }) => {
const dictPopupHeight = Math.min(300, maxHeight);
const transPopupWidth = Math.min(480, maxWidth);
const transPopupHeight = Math.min(360, maxHeight);
const annotPopupWidth = useResponsiveSize(300);
const annotPopupWidth = Math.min(useResponsiveSize(300), maxWidth);
const annotPopupHeight = useResponsiveSize(44);
const androidSelectionHandlerHeight = 0;