Skip to content

Commit

Permalink
Remove excess margin rule from calendar popover
Browse files Browse the repository at this point in the history
This negative margin adjusted the popover to go under the sidebar.

The React rewrite changed where sidebar is in the dom so the margin adjustment is no longer necessary.

Affects issues:
- Fixed #3932
- Fixed #3668
  • Loading branch information
AuroraLS3 committed Jan 17, 2025
1 parent e5330db commit 13c2316
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Plan/react/dashboard/src/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1328,18 +1328,6 @@ than 3 events in one day on the sessions calendar.
transform: translateX(0);
}

/*
When the sidebar is visible, it offsets the popovers by its width.
The rules below fix that by applying a negative margin.
*/
body .fc-popover {
margin-left: -14rem;
}

body.sidebar-hidden .fc-popover {
margin-left: 0 !important;
}

body.sidebar-hidden .navbar-nav {
display: none;
}
Expand Down

0 comments on commit 13c2316

Please sign in to comment.