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

addon_before misaligned for bootstrap_field #72

Open
askvictor opened this issue Mar 14, 2018 · 1 comment
Open

addon_before misaligned for bootstrap_field #72

askvictor opened this issue Mar 14, 2018 · 1 comment
Labels

Comments

@askvictor
Copy link

If I have the following in my template:
{% bootstrap_field form.shortlink_suffix layout='horizontal' addon_before='some text' %}
It renders the addon text at the top, out of alignment with the rest of the field. Inspecting the output shows
the span class is "input-group-addon". Setting the addon_before_class to "input-group-text" fixes the alignment, but now the text is surrounded by a grey box. Possibly the default class of input-group-addon is incorrect?

@dyve
Copy link
Member

dyve commented Aug 26, 2018

Hi @askvictor, if this is still relevant, could you add a screenshot and/or example?

@dyve dyve added the bug label Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants