Skip to content
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

Minimal repro for flex button layout bug on twitch.tv #3572

Open
1 task
Psychpsyo opened this issue Feb 14, 2025 · 0 comments
Open
1 task

Minimal repro for flex button layout bug on twitch.tv #3572

Psychpsyo opened this issue Feb 14, 2025 · 0 comments

Comments

@Psychpsyo
Copy link
Contributor

Summary

When I open twitch.tv in Ladybird, the buttons in the cookie banner at the top are too small for their text, making it impossible to read.

Operating system

Linux

Steps to reproduce

  1. Open the reduced test case.
  2. Notice that the text overflows the button.
  3. Verify that this does not happen in Firefox or Chrome.

Expected behavior

The button should grow to contain the text.

Actual behavior

The button does not grow to contain the text.

URL for a reduced test case

N/A

HTML/SVG/etc. source for a reduced test case

<!DOCTYPE html>
<style>
body {
  display: flex;
  max-width: 50px;
}
button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
}
</style>
<div>
  <button>
    LOOOOOOOOOOOOOOOOOOOOONG
  </button>
</div>

Log output and (if possible) backtrace

none

Screenshots or screen recordings

Top: Ladybird
Bottom: Firefox
Image

Build flags or config settings

none

Contribute a patch?

  • I’ll contribute a patch for this myself.
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

No branches or pull requests

1 participant