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

The asterisk positioned on a label of a required field returns to the line #2758

Closed
3 tasks done
jacques-lebourgeois opened this issue Oct 11, 2024 · 2 comments · Fixed by #2760
Closed
3 tasks done

Comments

@jacques-lebourgeois
Copy link
Member

Prerequisites

Describe the issue

In some of our GUIs, the width of a field label may correspond exactly to the width of the label text. In this case, if the field is mandatory, the asterisk added by the required class is on the line, giving a negative visual effect.

Reduced test cases

Here is an example : https://codepen.io/jacques-lebourgeois/pen/vYogBLW

with the screenshot :
Image

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of Boosted are you using?

5.3

@jacques-lebourgeois
Copy link
Member Author

I don't know what it's worth, but here's a workaround that seems to work on chrome and firefox :

https://codepen.io/jacques-lebourgeois/pen/jOgyNyo

@julien-deramond
Copy link
Member

Thanks @jacques-lebourgeois for having reported this issue and provided a patch. It's going to be released in the v5.3.4. In the meantime, you can override the behavior in your project with the following code: https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/pull/2760/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants