-
Notifications
You must be signed in to change notification settings - Fork 885
-
Notifications
You must be signed in to change notification settings - Fork 885
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
Label doesn't take long names into account #12068
Comments
Hi @Beee4life and thank you for your submission. I tried to reproduce the issue, but even going over the top on name lengths I was unable to reproduce the indentation issue that you are showing: The vertical alignment isn't the best, but I was really hoping to somehow recreate the indent of the middle label on your screenshot. Anything else that you can think of that might cause that? |
I just checked, it still occurs in my installation. But regardless if you can reproduce it, the code would be better if every element had its own row/container/div. Now it's just a bunch of spans separated by This is the screenshot with the label selected in the inspector. As you can see the sd_date_type element is not properly aligned, because it's 'stuck' against the label of sd_company_type. Solution: every row/input in it's own element |
Ah, we should definitely wrap these fields in containers. Makes sense. |
I just noticed this issue still occurs, so I thought I check if there might be something on my side interfering with it. When playing with the css I noticed if you remove the line It's only a quick fix, but every row should still 'needs' to be in its own element. |
The issue is with the plugin, not on your side :) I found that we already had an issue open regarding this problem, so I will close this thread in favor of that one. As it currently doesn't break functionality I don't see it happening that we'll be picking this up quickly. However, we welcome any patches that the community may have to fix this. |
No prob... Seems I also missed this one when creating it. Will follow that one. |
Please give us a description of what happened.
A label is not aligned properly when the previous label is long(er).
This is due to the fact spans are used instead of divs.
Now
<br class="clear">
doesn't do the trick (see screenshot)Please describe what you expected to happen and why.
I expected the fields to align properly.
How can we reproduce this behavior?
Technical info
Used versions
Suggested fix
Place every input + label in their own div.
The text was updated successfully, but these errors were encountered: