Skip to content

Commit

Permalink
fix(frontend): update margin styling to fix breakpoint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Feb 6, 2025
1 parent 896450e commit 7fbf591
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions clients/ui/frontend/src/shared/style/MUI-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -813,13 +813,9 @@
}
}

@media (min-width: 1200px) {
.mui-theme .pf-v6-c-page__main-container {
margin-left: calc(-2 * var(--mui-spacing-16px));
}

.mui-theme .pf-v6-c-page__main-section {
--pf-v6-c-page__main-section--PaddingInlineStart: none;
--pf-v6-c-page__main-section--PaddingInlineEnd: none;
}
}
.pf-v6-c-page__sidebar:not(.pf-m-collapsed)+.pf-v6-c-page__main-container,
.pf-v6-c-page__sidebar:not(.pf-m-collapsed)+.pf-v6-c-page__drawer {
--pf-v6-c-page__main-container--MarginInlineStart: calc(-2 * var(--mui-spacing-16px));
--pf-v6-c-page__main-section--PaddingInlineStart: none;
--pf-v6-c-page__main-section--PaddingInlineEnd: none;
}

0 comments on commit 7fbf591

Please sign in to comment.