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

feat: limit registry username column width #5718

Merged
merged 1 commit into from Jan 28, 2024
Merged

feat: limit registry username column width #5718

merged 1 commit into from Jan 28, 2024

Conversation

deboer-tim
Copy link
Collaborator

What does this PR do?

Fixes the unlimited width + long username as shown below or in issue #5670, by setting a maximum width + no overflow + text ellipsis. After fixing that I noticed that there is no space between the columns so the user and password still touch, so I added space-x-2 in all 4 row groups.

Screenshot / video of UI

Before:
Screenshot 2024-01-27 at 11 54 50 PM

After:
Screenshot 2024-01-27 at 11 54 32 PM

What issues does this PR fix or reference?

Fixes: #5670.

How to test this PR?

Log into any registry, either with a really long username, or make line 311 really long while in dev.

Fixes the unlimited width + long username as shown below or in
issue #5670, by setting a maximum width + no overflow + text
ellipsis. After fixing that I noticed that there is no space
between the columns so the user and password still touch, so I
added space-x-2 in all 4 row groups.

Fixes: #5670.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim deboer-tim requested review from benoitf and a team as code owners January 28, 2024 05:03
@deboer-tim deboer-tim requested review from dgolovin and lstocchi and removed request for a team January 28, 2024 05:03
@deboer-tim deboer-tim merged commit 736c674 into main Jan 28, 2024
8 checks passed
@deboer-tim deboer-tim deleted the registry-col branch January 28, 2024 16:39
@podman-desktop-bot podman-desktop-bot added this to the 1.8.0 milestone Jan 28, 2024
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.

truncate long usernames in registries page
3 participants