Skip to content

Commit

Permalink
Tweak button sizing & border in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Apr 14, 2023
1 parent acb4287 commit fe62190
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/edit-site/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
z-index: z-index(".edit-site-layout__hub");

.edit-site-layout.is-full-canvas.is-edit-mode & {
width: $grid-unit-80;
width: $header-height;
padding-right: 0;
}

Expand Down Expand Up @@ -157,6 +157,12 @@
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px solid transparent;

.edit-site-layout.is-full-canvas.is-edit-mode & {
border-bottom-color: $gray-200;
transition: border-bottom-color 0.15s 0.4s ease-out;
}

&:hover,
&:active {
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/site-hub/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

.edit-site-site-hub__view-mode-toggle-container {
height: calc(#{$header-height} - 2px);
height: $header-height;
width: $header-height;
flex-shrink: 0;
background: $gray-900;
Expand Down

0 comments on commit fe62190

Please sign in to comment.