Skip to content

Commit

Permalink
Remove content padding override when is admin
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcaires committed May 23, 2023
1 parent 2703ebb commit 8ca3169
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions assets/css/sensei-course-theme/mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ $breakpoint: 783px;
--content-padding: 24px;
}


@at-root :root:has(.admin-bar) .sensei-course-theme__sidebar {
// When the admin bar is present, something is applying and extra spacing that is messing the padding calculate, so it require cut the padding by half.
--content-padding: 12px;
}


body .is-layout-flow > * + .sensei-course-theme__main-content {
margin-top: 32px;
padding-bottom: 32px;
Expand Down

0 comments on commit 8ca3169

Please sign in to comment.