Skip to content

Compact inline icon links and quiet-page spacing - #2

Merged
0thernet merged 1 commit into
mainfrom
codex/inline-links-mobile-spacing
Aug 18, 2026
Merged

Compact inline icon links and quiet-page spacing#2
0thernet merged 1 commit into
mainfrom
codex/inline-links-mobile-spacing

Conversation

@0thernet

Copy link
Copy Markdown
Contributor

What changed

  • Add an IconLink inline presentation for icon-only destinations beside typographic content.
  • Keep the inline link accessible and interactive without persistent button chrome.
  • Reduce the quiet-site page's viewport-relative top spacing while preserving a roomier bottom margin.
  • Prepare @hraness/ui 0.4.2 and update the generated bundle and portfolio inventory.

Why

The control-style IconLink is correct in toolbars, but its bordered square disrupts writing-list typography when used as a source link. Quiet-site pages also reserve too much space above the first heading on phone viewports.

Impact

Existing IconLink consumers retain their control presentation. Consumers opt into presentation="inline"; inline mode excludes action sizes and variants at the type level.

Validation

  • bun run check
  • 61 package tests
  • TypeScript
  • production bundle
  • packed-package Node 24 import and type smoke

@0thernet
0thernet marked this pull request as ready for review August 18, 2026 17:08
@0thernet
0thernet merged commit a5344d2 into main Aug 18, 2026
2 checks passed
@0thernet
0thernet deleted the codex/inline-links-mobile-spacing branch August 18, 2026 17:09
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