Skip to content

fix(web): layout improvements#2137

Merged
dgdavid merged 3 commits intostorage-lvmfrom
lvm-form-ui-fixes
Mar 10, 2025
Merged

fix(web): layout improvements#2137
dgdavid merged 3 commits intostorage-lvmfrom
lvm-form-ui-fixes

Conversation

@dgdavid
Copy link
Contributor

@dgdavid dgdavid commented Mar 10, 2025

Problem

Commit a1a016b introduced some side-effects here and there that are easy to fix by adjusting affected layouts.

Solution

Allow popups to use an auto width when no variant is given plus reworking the login form.

Testing

Tested manually.

Screenshots

Before After
localhost_8080_ (3) localhost_8080_
localhost_8080_ (2) localhost_8080_ (1)

Note that the Encryption question screenshots were done with basic "mocked data", just for checking the popup width behavior. That's why you can miss some data there.

@dgdavid dgdavid requested a review from joseivanlopez March 10, 2025 14:41
@dgdavid dgdavid changed the base branch from lvm-form to storage-lvm March 10, 2025 16:04
dgdavid added 3 commits March 10, 2025 17:02
Popups now automatically adjust their width when no variant is provided,
preventing them from being unnecessarily wide with short content.

It also removes deprecated size properties.
Adjusted the layout of the form to improve its visual "flow and rhythm".
The title can now be any valid ReactNode, not just a string.
@dgdavid dgdavid force-pushed the lvm-form-ui-fixes branch from 2cfd461 to 4149d43 Compare March 10, 2025 17:03
Copy link
Contributor

@joseivanlopez joseivanlopez left a comment

Choose a reason for hiding this comment

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

LGTM

@dgdavid dgdavid merged commit e2d44c6 into storage-lvm Mar 10, 2025
2 checks passed
@dgdavid dgdavid deleted the lvm-form-ui-fixes branch March 10, 2025 17:10
@imobachgs imobachgs mentioned this pull request Mar 27, 2025
imobachgs added a commit that referenced this pull request Mar 27, 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.

2 participants