Skip to content

Commit

Permalink
bug #6238 Fix vertical scrollbar (Seb33300)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.x branch.

Discussion
----------

Fix vertical scrollbar

Hide the vertical scrollbar if unnecessary.

![image](https://github.com/EasyCorp/EasyAdminBundle/assets/915273/a87721cd-ee59-4a12-8d46-bf0addba0ab3)

Commits
-------

352015a Fix vertical scrollbar
  • Loading branch information
javiereguiluz committed Apr 16, 2024
2 parents 10b1f92 + 352015a commit 96404d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/css/easyadmin-theme/base.css
Expand Up @@ -315,7 +315,7 @@ a.user-menu-wrapper .user-details:hover {
}

#content-resizer-handler {
min-height: calc(100vh - 56px);
min-height: calc(100vh - 56px - 45px);
}

.content-top {
Expand All @@ -332,6 +332,7 @@ a.user-menu-wrapper .user-details:hover {
@media(min-width: 992px) {
.content-top {
display: flex;
margin-bottom: 0;
height: 56px;
justify-content: space-between;
padding: 11px calc(var(--lg-content-padding-right) + var(--resize-handler-width)) 11px var(--lg-content-padding-left);
Expand Down

0 comments on commit 96404d8

Please sign in to comment.