Skip to content

Feat: Mobile-responsive callouts + txt-s adjustments #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

MasssiveJuice08
Copy link
Contributor

  • Callouts by default will have their float property unset on mobile, and will stretch to 100% width.
  • adding |fixed callout metadata will force a callout to maintain its float on mobile, for exceptional situations where it is important to float a (preferably small) element even with limited screen space (i.e., mobile).

Closes #88 and #85

- also increase line-height slightly from 1rem to 1.2rem
- Callouts by default will have their `float` property unset on mobile, and will stretch to 100% width.
- adding `|fixed` callout metadata will force a callout to maintain its float on mobile, for exceptional situations where it is important to float a (preferably small) element even with limited screen space (i.e., mobile).
- adjustments to `txt-s` line-height for `<sup>` elements (i.e., footnotes) so they don't push line-height up. Slightly increased line-height as compromise to improve readability. Quartz-only; not needed for Obsidian.
- reduced line-height of table `<td>` for infobox callouts
- updated docs
@MasssiveJuice08 MasssiveJuice08 added enhancement New feature or request meta-style Style guidelines and planning for the wiki itself. labels Aug 28, 2024
@MasssiveJuice08 MasssiveJuice08 self-assigned this Aug 28, 2024
@MasssiveJuice08 MasssiveJuice08 merged commit 03cf687 into main Aug 28, 2024
@MasssiveJuice08 MasssiveJuice08 deleted the callout-adjustments-float+txt-s branch August 28, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request meta-style Style guidelines and planning for the wiki itself.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

txt-small adj.: make line-height consisten
1 participant