Skip to content

Commit

Permalink
Fix SCSS issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
apeatling committed Feb 7, 2023
1 parent 71e0e1e commit ad87863
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/edit-post/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

.is-distraction-free {
.components-editor-notices__snackbar {
bottom: calc(#{$grid-unit-50} / 2);
bottom: math.div($grid-unit-50, 2);
}
}

.has-secondary-sidebar {
.components-editor-notices__snackbar {
padding-left: calc(#{$grid-unit-20} + #{$nav-sidebar-width});
padding-left: $grid-unit-20 + $nav-sidebar-width;
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

@include break-medium {
.has-secondary-sidebar .components-editor-notices__snackbar {
padding-left: calc(#{$grid-unit-20} + #{$nav-sidebar-width});
padding-left: $grid-unit-20 + $nav-sidebar-width;
}
}
}
Expand Down

0 comments on commit ad87863

Please sign in to comment.