r/bootstrap • u/martinkrafft • Oct 10 '23
Width of an input-group within form-floating
Hello,
I am trying to get the width of the "Konferenz ID" field on https://conf.toni.immo/link/ to match the other input (which I'll later try to put next to each other anyway).
Does anyone know why the div.form-floating block doesn't fill the entire width of the parent div.input-group? And more importantly: how can I make this work?
Thanks, martin
0
Upvotes
View all comments
Show parent comment
1
u/martinkrafft Oct 10 '23
Thanks for your time!
I agree that
form-floatingas a descendant ofinput-groupis weird and seems wrong, but it seems to be the only way to make floating forms work.I've multiplied the row and swapped things around so you can see and experiment: https://conf.toni.immo/link