Skip to content

Commit

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

Discussion
----------

Fix top border

In my [previous PR](#6238) to fix the vertical scrollbar, I unfortunately broke the top bar border in some pages / resolution.

This PR is to fix it.

![image](https://github.com/EasyCorp/EasyAdminBundle/assets/915273/d8e70ff1-4539-4981-9b08-4d0be9d144cb)

Commits
-------

ff43178 Fix top border
  • Loading branch information
javiereguiluz committed May 21, 2024
2 parents 6248349 + ff43178 commit dabf649
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assets/css/easyadmin-theme/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ a.user-menu-wrapper .user-details:hover {
}

.content {
margin-top: 1px;
}

.resizer-handler {
Expand Down Expand Up @@ -322,7 +323,6 @@ a.user-menu-wrapper .user-details:hover {
align-items: center;
box-shadow: 0 1px 0 var(--content-top-border-color);
display: flex;
margin-bottom: 1px;
padding: 5px 15px 5px var(--content-padding-left);
}
@media(max-width: 992px) {
Expand All @@ -332,7 +332,6 @@ 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 dabf649

Please sign in to comment.