Skip to content

Commit

Permalink
Reduce sizes for stepper padding and dialog content on desktop (#4573)
Browse files Browse the repository at this point in the history
* Moer style tweaks

* Update mat-desktop.scss

Co-authored-by: Richard Cox <richard-cox@users.noreply.github.com>
  • Loading branch information
nwmac and richard-cox authored Sep 15, 2020
1 parent cec32ff commit c386072
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/frontend/packages/core/sass/mat-desktop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ $desktop-toggle-button-item-height: $desktop-menu-item-height - 2px;
line-height: normal;
}
}

}

// Smaller page header
Expand All @@ -127,4 +128,19 @@ $desktop-toggle-button-item-height: $desktop-menu-item-height - 2px;
app-profile-info .user-profile {
top: $desktop-page-header-height;
}

// Smaller dialog titles & content
.mat-dialog-title {
font-size: 18px;
}
.mat-dialog-content {
font-size: 16px;
}

// Reduced padding on steppers - the stepper already had padding applied because they are included in the dashboard, which
// has padding via the '.dashboard__content` class - so we end up with double padding - this removes the extra level of padding
.steppers__inner {
padding: 0;
}

}

0 comments on commit c386072

Please sign in to comment.