diff --git a/packages/edit-post/src/components/layout/style.scss b/packages/edit-post/src/components/layout/style.scss index 5072c9d82c90f..1c2f47a79d487 100644 --- a/packages/edit-post/src/components/layout/style.scss +++ b/packages/edit-post/src/components/layout/style.scss @@ -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; } } diff --git a/packages/edit-site/src/components/editor/style.scss b/packages/edit-site/src/components/editor/style.scss index f0eaf922b8884..eff9d81574673 100644 --- a/packages/edit-site/src/components/editor/style.scss +++ b/packages/edit-site/src/components/editor/style.scss @@ -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; } } }