Skip to content

Commit

Permalink
Reduce icon size in page sub-header (#4411)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac authored Jun 30, 2020
1 parent ee0e1b3 commit d3aab40
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/frontend/packages/core/sass/mat-desktop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See: https://material.io/guidelines/components/menus.html#menus-specs

$desktop-font-size: 14px;
$desktop-menu-item-height: 36px;
$desktop-menu-item-height: 32px;
$desktop-menu-vertical-padding: 8px;

// Remove 1px border
Expand Down Expand Up @@ -73,4 +73,24 @@ $desktop-toggle-button-item-height: $desktop-menu-item-height - 2px;
font-size: $desktop-font-size;
height: 56px;
}

// Smaller icons in the Toolbars in the page sub-nav
.page-header-sub-nav {
mat-icon {
font-size: 18px;
height: 18px;
width: 18px;
}

.mat-icon-button {
line-height: 34px;
height: 34px;
width: 34px;
mat-icon {
// Also stops the wobble on the refresh icon
line-height: normal;
}
}

}
}

0 comments on commit d3aab40

Please sign in to comment.