Skip to content

Conversation

@oddvernes
Copy link
Collaborator

Removed the media-query on Dialog that forces width: 100% under 40rem (640px) viewport width

  • It is causing issues for the data-placement variants, but instead of excluding those, we could just remove it entirely because default max-width is 40rem anyway?

@changeset-bot
Copy link

changeset-bot bot commented Dec 19, 2025

🦋 Changeset detected

Latest commit: 9e7d2ea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@digdir/designsystemet-css Patch
@digdir/designsystemet-react Patch
@digdir/designsystemet Patch
@digdir/designsystemet-theme Patch
@digdir/designsystemet-types Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@oddvernes oddvernes marked this pull request as ready for review December 19, 2025 12:30
@github-actions
Copy link
Contributor

Preview deployments for this pull request:

storybook - 19. Dec 2025 - 13:32

@Barsnes Barsnes merged commit d1ecb6d into main Jan 5, 2026
18 checks passed
@Barsnes Barsnes deleted the fix/dialog-media-query branch January 5, 2026 06:55
@github-actions github-actions bot mentioned this pull request Dec 19, 2025
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.

4 participants