i have a website with a fixed navbar and a form, when i click submit button and a required input is blank, the bootstrap ( 4 ) scroll to the input. but it, the input, stay behind the navbar.
How can I add an offset to this scroll behavior?
I'm using something like:
<form id="formulario-documentos" enctype="multipart/form-data">
<input type="text" class="form-control" id="name" name="name" required>
<input type="text" class="form-control" id="nif" name="nif" required>
<button class="btn btn-primary" type="submit">Submeter</button>
</form>