Skip to content

Conversation

@Jeremy-Walton
Copy link
Member

Task

Fixes #310

Why?

When a divider was used inside a flex container with a fixed width or height, the width or height would get ignored and the divider would squish.

What Changed

  • Add min block size to match height
  • Add min inline size to match width for vertical variant

Quality Assurance

  • Have you tagged the PR with the correct labels?
  • Have you validated the changes?
    • Have you run linters? (yarn sanity-check)
    • Have you run prettier?
    • Have you tried building the css?
    • Have you tried building storybook?
  • [ ] Have you updated any usage of changed tokens?
  • [ ] Did you add a component?
    • [ ] Have you added it to the dependency graph?
    • [ ] Have you added it to the docs?
  • Did you update a component?
    • [ ] Have you updated the dependency graph?
    • [ ] Have you updated the docs?
  • [ ] Do you need to update the package version?

Screenshots

Screenshot 2026-01-17 at 1 46 22 PM Screenshot 2026-01-17 at 1 46 07 PM

@Jeremy-Walton Jeremy-Walton added this to the v2.3.0 milestone Jan 17, 2026
@Jeremy-Walton Jeremy-Walton self-assigned this Jan 17, 2026
@Jeremy-Walton Jeremy-Walton added bug Something isn't working Components Changes to a component labels Jan 17, 2026
@Jeremy-Walton Jeremy-Walton merged commit 9eb6cde into main Jan 17, 2026
5 checks passed
@Jeremy-Walton Jeremy-Walton deleted the fix-divider-squish branch January 17, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Components Changes to a component

Development

Successfully merging this pull request may close these issues.

Divider disappears in a scrolling container

3 participants