Skip to content

Fix transparent dropdowns, icon-only header buttons, Kalam PDF#65

Merged
ankitsejwal merged 3 commits into
mainfrom
fix/dropdown-bg-and-buttons
Jun 28, 2026
Merged

Fix transparent dropdowns, icon-only header buttons, Kalam PDF#65
ankitsejwal merged 3 commits into
mainfrom
fix/dropdown-bg-and-buttons

Conversation

@ankitsejwal

Copy link
Copy Markdown
Member

Three fixes from testing.

  • Dropdowns were see-through. The shadcn Select/dropdown content uses bg-popover, but the --popover tokens were never defined in styles.css (only --card etc.), so the background resolved to nothing. Added --popover / --popover-foreground for both light and dark.
  • Open / Save are icon-only now. The upload/download icons are self-explanatory; dropped the text labels and added tooltips.
  • Kalam exported as gibberish. Tracked it down by rendering each font to a PDF: Kalam came out as scattered half-words ("Cortona" → "or o") while Patrick Hand / Shadows Into Light were clean. The culprit is pdf-lib's font subsetter dropping glyphs — embedding the full font (subset: false) fixes it completely. The size cost is trivial next to the 300-DPI photos, and only the one selected font is embedded per export.

@ankitsejwal ankitsejwal merged commit 207ff85 into main Jun 28, 2026
1 check passed
@ankitsejwal ankitsejwal deleted the fix/dropdown-bg-and-buttons branch June 28, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant