From d7e89cc01fbea0162ed6d5e854889610e2bc9e42 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Thu, 23 Oct 2025 17:51:31 +0800 Subject: [PATCH] fix(layout): responsive layout for the custom highlight colors options (#2303) --- apps/readest-app/src/app/library/components/GroupItem.tsx | 4 ++-- .../src/app/reader/components/footerbar/ColorPanel.tsx | 5 ----- .../src/app/reader/components/sidebar/Content.tsx | 5 ++++- apps/readest-app/src/components/settings/ColorPanel.tsx | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/apps/readest-app/src/app/library/components/GroupItem.tsx b/apps/readest-app/src/app/library/components/GroupItem.tsx index b2884a4b..fd0b645a 100644 --- a/apps/readest-app/src/app/library/components/GroupItem.tsx +++ b/apps/readest-app/src/app/library/components/GroupItem.tsx @@ -100,13 +100,13 @@ const GroupItem: React.FC = ({ mode, group, isSelectMode, groupS
diff --git a/apps/readest-app/src/app/reader/components/footerbar/ColorPanel.tsx b/apps/readest-app/src/app/reader/components/footerbar/ColorPanel.tsx index 98fb0da9..33b9826b 100644 --- a/apps/readest-app/src/app/reader/components/footerbar/ColorPanel.tsx +++ b/apps/readest-app/src/app/reader/components/footerbar/ColorPanel.tsx @@ -101,11 +101,6 @@ export const ColorPanel: React.FC = ({ actionTab, bottomOffset className='flex gap-3 overflow-x-auto p-2' style={{ scrollbarWidth: 'none', msOverflowStyle: 'none' }} > - {themes.map(({ name, label, colors }) => (