Skip to content

Commit

Permalink
minor #6237 Fix login form bottom padding (Seb33300)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.x branch.

Discussion
----------

Fix login form bottom padding

Remove the bottom padding on the login form:

Before:

![image](https://github.com/EasyCorp/EasyAdminBundle/assets/915273/5bcbf339-19c8-499a-bf6a-3549b2a709f5)

After:

![image](https://github.com/EasyCorp/EasyAdminBundle/assets/915273/4a5a623e-5bf8-4d40-878e-114032598ebb)

Commits
-------

e569333 Fix login form bottom padding
  • Loading branch information
javiereguiluz committed Apr 16, 2024
2 parents a1900f2 + e569333 commit 10b1f92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Resources/views/page/login.html.twig
Expand Up @@ -90,9 +90,7 @@
</div>
{% endif %}

<div class="form-group">
<button type="submit" class="btn btn-primary btn-lg btn-block">{{ _sign_in_label }}</button>
</div>
<button type="submit" class="btn btn-primary btn-lg btn-block">{{ _sign_in_label }}</button>
</form>

<script src="{{ asset('login.js', constant('EasyCorp\\Bundle\\EasyAdminBundle\\Asset\\AssetPackage::PACKAGE_NAME')) }}"></script>
Expand Down

0 comments on commit 10b1f92

Please sign in to comment.