summaryrefslogtreecommitdiff
path: root/apps/web/app
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-10 02:16:15 -0800
committerFuwn <[email protected]>2026-02-10 02:16:15 -0800
commiteb9624eca34d8b6e41464855ee1922c4c25ff376 (patch)
treec91dc458815000dffdc51b91697e669d5c703b6e /apps/web/app
parentfeat: add unread priority option to push unread entries to top (diff)
downloadasa.news-eb9624eca34d8b6e41464855ee1922c4c25ff376.tar.xz
asa.news-eb9624eca34d8b6e41464855ee1922c4c25ff376.zip
fix: remove font size selector, always use default text-base
Diffstat (limited to 'apps/web/app')
-rw-r--r--apps/web/app/reader/_components/reader-shell.tsx6
-rw-r--r--apps/web/app/reader/settings/_components/appearance-settings.tsx19
2 files changed, 1 insertions, 24 deletions
diff --git a/apps/web/app/reader/_components/reader-shell.tsx b/apps/web/app/reader/_components/reader-shell.tsx
index 45621af..0328dd9 100644
--- a/apps/web/app/reader/_components/reader-shell.tsx
+++ b/apps/web/app/reader/_components/reader-shell.tsx
@@ -49,7 +49,6 @@ export function ReaderShell({
const { data: customFeedsData } = useCustomFeeds()
const isMobile = useIsMobile()
const focusedPanel = useUserInterfaceStore((state) => state.focusedPanel)
- const fontSize = useUserInterfaceStore((state) => state.fontSize)
const toggleShortcutsDialog = useUserInterfaceStore(
(state) => state.toggleShortcutsDialog
)
@@ -288,10 +287,7 @@ export function ReaderShell({
)
return (
- <div className={classNames(
- "flex h-full flex-col",
- fontSize === "small" ? "text-sm" : fontSize === "large" ? "text-lg" : "text-base"
- )}>
+ <div className="flex h-full flex-col text-base">
{toolbarPosition === "top" && toolbar}
<div className="relative min-h-0 flex-1">
<ErrorBoundary>
diff --git a/apps/web/app/reader/settings/_components/appearance-settings.tsx b/apps/web/app/reader/settings/_components/appearance-settings.tsx
index 9e03702..5068937 100644
--- a/apps/web/app/reader/settings/_components/appearance-settings.tsx
+++ b/apps/web/app/reader/settings/_components/appearance-settings.tsx
@@ -48,8 +48,6 @@ export function AppearanceSettings() {
const setFocusFollowsInteraction = useUserInterfaceStore(
(state) => state.setFocusFollowsInteraction
)
- const fontSize = useUserInterfaceStore((state) => state.fontSize)
- const setFontSize = useUserInterfaceStore((state) => state.setFontSize)
const timeDisplayFormat = useUserInterfaceStore(
(state) => state.timeDisplayFormat
)
@@ -118,23 +116,6 @@ export function AppearanceSettings() {
</select>
</div>
<div>
- <h3 className="mb-2 text-text-primary">font size</h3>
- <p className="mb-3 text-text-dim">
- controls the base text size in the reader
- </p>
- <select
- value={fontSize}
- onChange={(event) =>
- setFontSize(event.target.value as "small" | "default" | "large")
- }
- className="border border-border bg-background-primary px-3 py-2 text-text-primary outline-none focus:border-text-dim"
- >
- <option value="small">small</option>
- <option value="default">default</option>
- <option value="large">large</option>
- </select>
- </div>
- <div>
<h3 className="mb-2 text-text-primary">display density</h3>
<p className="mb-3 text-text-dim">
controls the overall text size and spacing