django-bootstrap4 icon indicating copy to clipboard operation
django-bootstrap4 copied to clipboard

addon_before misaligned for bootstrap_field

Open askvictor opened this issue 7 years ago • 1 comments

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?

askvictor avatar Mar 14 '18 10:03 askvictor

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

dyve avatar Aug 26 '18 06:08 dyve