Fix large font overflow on Windows — flex-wrap all dense rows

Feed header, note card header, note actions, compose box, settings
theme grid, font size presets, media feed tabs, and profile header
buttons all now wrap gracefully when CSS zoom makes content overflow
the viewport. Also add AgentDocs fetch instruction to CLAUDE.md.
This commit is contained in:
Jure
2026-03-25 15:34:19 +01:00
parent f460a53875
commit 5b627879ac
8 changed files with 21 additions and 13 deletions

View File

@@ -291,12 +291,12 @@ function ThemeSection() {
<h2 className="text-text text-[11px] font-medium uppercase tracking-widest mb-3 text-text-dim">
Theme
</h2>
<div className="grid grid-cols-4 gap-2">
<div className="flex flex-wrap gap-2">
{themes.map((theme) => (
<button
key={theme.id}
onClick={() => setTheme(theme.id)}
className={`flex flex-col items-center gap-1.5 p-2 border transition-colors rounded-sm ${
className={`flex flex-col items-center gap-1.5 p-2 border transition-colors rounded-sm w-20 ${
themeId === theme.id
? "border-accent bg-bg-hover"
: "border-border hover:border-accent/40"
@@ -333,7 +333,7 @@ function FontSizeSection() {
<h2 className="text-text text-[11px] font-medium uppercase tracking-widest mb-2 text-text-dim">
Font Size
</h2>
<div className="flex items-center gap-2">
<div className="flex flex-wrap items-center gap-2">
{FONT_PRESETS.map(({ label, size }) => (
<button
key={size}