Skip to content

Commit

Permalink
Icon dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Jan 12, 2023
1 parent 676c377 commit 651ee14
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion packages/edit-site/src/components/site-hub/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@

.edit-site-site-hub__view-mode-toggle-container {
height: $header-height;
width: $header-height;
width: $header-height + 4px;
flex-shrink: 0;
}

.edit-site-layout.is-edit-mode {
.edit-site-site-hub__view-mode-toggle-container {
width: $header-height;
}
}

.edit-site-site-hub__text-content {
// Necessary for the ellipsis to work.
overflow: hidden;
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/site-icon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function SiteIcon( { className } ) {
) : (
<Icon
className="edit-site-site-icon__icon"
size="36px"
size="32px"
icon={ wordpress }
/>
);
Expand Down
4 changes: 2 additions & 2 deletions packages/edit-site/src/components/site-icon/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
}

.edit-site-site-icon__image {
width: $button-size;
height: $button-size;
width: $grid-unit-40;
height: $grid-unit-40;
border-radius: $radius-block-ui;
object-fit: cover;
}

0 comments on commit 651ee14

Please sign in to comment.