Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use math.div()
  • Loading branch information
noisysocks committed Dec 5, 2022
commit b882088270c0c517be84bafc6feb6e61477004bc
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/style-book/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.edit-site-style-book__close-button {
position: absolute;
right: $grid-unit-10;
top: ($grid-unit-60 - $button-size) / 2; // ( tab height - button size ) / 2
top: math.div($grid-unit-60 - $button-size, 2); // ( tab height - button size ) / 2
}

.edit-site-style-book__tab-panel {
Expand Down