Take a look at the layout of my django filter form:
https://i.sstatic.net/HAvcM.png
I'm trying to add some horizontal spacing so that 'Name contains' section and the search bar, as well as 'result' are not too close together.
Here's the snippet of my html code:
<form action="" method="get" class="form-inline text-white justify-content-center mx-3">
{{myfilter.form|bootstrap}}
<button class="btn btn-primary" type="submit">
Search</button>
</form>
I've attempted adding m-3
, mx-3
but they haven't been effective. Any suggestions would be greatly appreciated. Thank you!