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: run image error spacing #4089

Merged
merged 1 commit into from Sep 25, 2023
Merged

fix: run image error spacing #4089

merged 1 commit into from Sep 25, 2023

Conversation

deboer-tim
Copy link
Collaborator

What does this PR do?

Fixes error message over top of the field and label as shown in issue #3628. You can notice the Entrypoint field in the issue is also very close to the following Command label - both fields did not have the pt-4 padding that every other field in this form has. Adding this back leaves a blank line for the error, so I added an if statement as we do in many other uses of ErrorMessage.

Screenshot/screencast of this PR

Screenshot 2023-09-25 at 4 50 40 PM

What issues does this PR fix or reference?

Fixes #3628.

How to test this PR?

Run an image and type a container name that's already in use.

Fixes error message over top of the field and label as shown in issue #3628.
You can notice the Entrypoint field in the issue is also very close to the
following Command label - both fields did not have the pt-4 padding that every
other field in this form has. Adding this back leaves a blank line for the
error, so I added an if statement as we do in many other uses of ErrorMessage.

Fixes #3628.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim deboer-tim requested review from benoitf and a team as code owners September 25, 2023 21:07
@deboer-tim deboer-tim requested review from dgolovin and lstocchi and removed request for a team September 25, 2023 21:07
@deboer-tim deboer-tim merged commit d21fcae into main Sep 25, 2023
8 checks passed
@deboer-tim deboer-tim deleted the run-image branch September 25, 2023 21:40
@podman-desktop-bot podman-desktop-bot added this to the 1.5.0 milestone Sep 25, 2023
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.

Error message in the create container page is too close to the textbox
3 participants