diff --git a/README.md b/README.md index 9c3d8c06..aad45ab9 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ | **Feature** | **Description** | **Status** | | --------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------- | -| **Multi-Format Support** | Support EPUB, MOBI, KF8 (AZW3), FB2, CBZ, PDF (experimental) | ✅ | +| **Multi-Format Support** | Support EPUB, MOBI, KF8 (AZW3), FB2, CBZ, TXT, PDF (experimental) | ✅ | | **Scroll/Page View Modes** | Switch between scrolling or paginated reading modes. | ✅ | | **Full-Text Search** | Search across the entire book to find relevant sections. | ✅ | | **Annotations and Highlighting** | Add highlights, bookmarks, and notes to enhance your reading experience. | ✅ | diff --git a/apps/readest-app/src/app/reader/components/annotator/Annotator.tsx b/apps/readest-app/src/app/reader/components/annotator/Annotator.tsx index 5aef0c85..366cc50d 100644 --- a/apps/readest-app/src/app/reader/components/annotator/Annotator.tsx +++ b/apps/readest-app/src/app/reader/components/annotator/Annotator.tsx @@ -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;