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

add css class to prepended/appended inline elements #1374

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

masc-be
Copy link

@masc-be masc-be commented Dec 14, 2023

If I want to apply my own formatting to the "add-on" in the "input-group" element https://getbootstrap.com/docs/5.0/forms/input-group/, this is not possible due to the lack of parameterization. However, this would make sense if, for example, the background color or the size needs to be adjusted. In addition, css tricks could also be used to create nice effects. For this case I have created this patch in combination with the pull-request of crispy-bootstrap5.

@smithdc1
Copy link
Member

Hi @masc-be -- thanks for the patch -- Would be good to see some examples of this. Currently I'm not sure the additional api is worth it. My gut reaction is to encourage folk to override the template and add additional styles in such a case.

@masc-be
Copy link
Author

masc-be commented Dec 18, 2023 via email

@masc-be
Copy link
Author

masc-be commented Dec 20, 2023

Now its looks fine for me.

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.

None yet

2 participants