Skip to content

fix: let auth method buttons grow to fit wrapped text#59

Merged
janmeier merged 1 commit into
masterfrom
chore/there-s-a-big-bug
Jun 8, 2026
Merged

fix: let auth method buttons grow to fit wrapped text#59
janmeier merged 1 commit into
masterfrom
chore/there-s-a-big-bug

Conversation

@janmeier

@janmeier janmeier commented May 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Auth method buttons (e.g. "Login med MitID") used a fixed height: 60px, so when users zoomed in or enlarged their font the wrapped label overflowed the button and bled into the button below.
  • Switched the rule to min-height: 60px, preserving the default appearance while letting the flexbox button grow vertically to contain wrapped text.

The buttons used a fixed `height: 60px`, so when users zoomed in or
increased their font size the wrapped label overflowed the button and
overlapped the button below it. Using `min-height` keeps the default
appearance while allowing the button to grow with its content.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@netlify

netlify Bot commented May 29, 2026

Copy link
Copy Markdown

Deploy Preview for criipto-verify-react-storybook ready!

Name Link
🔨 Latest commit bf94f1e
🔍 Latest deploy log https://app.netlify.com/projects/criipto-verify-react-storybook/deploys/6a196133113f300008e7e12d
😎 Deploy Preview https://deploy-preview-59--criipto-verify-react-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@janmeier janmeier marked this pull request as ready for review May 29, 2026 10:40
@janmeier janmeier requested a review from mickhansen May 29, 2026 10:40
@janmeier janmeier merged commit 1c3f107 into master Jun 8, 2026
6 checks passed
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.

2 participants