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

fix: container when resized #5183

Merged
merged 1 commit into from
Apr 10, 2024
Merged

fix: container when resized #5183

merged 1 commit into from
Apr 10, 2024

Conversation

kyranjamie
Copy link
Collaborator

@kyranjamie kyranjamie commented Apr 9, 2024

Try out Leather build 3cb00dfExtension build, Test report, Storybook, Chromatic

Noticed that container doesn't centre itself when the content is resize. Think it'd be nice to contain the content when this happens.

image

Also @pete-watters think we can remove the height? We have the min & max height. The height is the default size of the window, but that can change if users resize themselves, reposition with window manager etc

This PR centres the content, which is a very small improvement

image

@kyranjamie kyranjamie requested a review from pete-watters April 9, 2024 12:38
Copy link
Contributor

@pete-watters pete-watters left a comment

Choose a reason for hiding this comment

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

Thanks @kyranjamie 👍

The re-centring is a bug I needed to fix and forgot.

For the height, I thought it was needed but I have tested it and it's not so its great to remove it.

@pete-watters pete-watters added this pull request to the merge queue Apr 10, 2024
Merged via the queue into dev with commit 909fa0c Apr 10, 2024
29 checks passed
@pete-watters pete-watters deleted the fix/container-resizing branch April 10, 2024 08:01
@pete-watters
Copy link
Contributor

This fixes this bug #4886

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.

3 participants