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

BREAKING CHANGE: Remove width and height from dialog parent element #58

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

mnlfischer
Copy link
Contributor

@mnlfischer mnlfischer commented Nov 20, 2023

Description

We removed the width and height of the dialog panel component since this is supported through the normal className prop. Beside that the dynamic props

height ? `h-[${height}px]` : "max-h-full",
width ? `w-[${width}px]` : "w-[592px]",

are not working in production because it is no purgeable HTML.

We also increased the general width of the dialog.

@mnlfischer mnlfischer requested review from a team and rodelta and removed request for a team November 20, 2023 13:09
Copy link

linear bot commented Nov 20, 2023

PLA-791 Fixed width for set up Dialog

Why?

Less prone to strange resizing behaviour

CleanShot 2023-11-06 at 16.34.42.png

Description

Set the width to be fixed at 736px wide.

This should be applied globally to all hailstorm dialog component.

Notes

[Extra important info that might be useful]

Copy link
Contributor

@Coderwelsch Coderwelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noiceeee

@mnlfischer mnlfischer merged commit b1e5a2c into main Nov 21, 2023
6 checks passed
@mnlfischer mnlfischer deleted the pla-791-fixed-width-for-set-up-dialog branch November 21, 2023 07:50
@abusix-bot
Copy link
Collaborator

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants