Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit e24480c

Browse files
fix(top-app-bar): Adjust title padding-left styles (#2390)
1 parent 0b73002 commit e24480c

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

packages/mdc-top-app-bar/_mixins.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@
5959
padding: $mdc-top-app-bar-mobile-section-padding;
6060
}
6161

62-
.mdc-top-app-bar__title {
63-
@include mdc-rtl-reflexive-box(padding, left, $mdc-top-app-bar-mobile-title-left-padding);
64-
}
65-
6662
.mdc-top-app-bar--short {
6763
transition: width 200ms $mdc-animation-standard-curve-timing-function;
6864
}

packages/mdc-top-app-bar/_variables.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
// Default styles
1818
$mdc-top-app-bar-row-height: 64px;
19-
$mdc-top-app-bar-title-left-padding: 10px;
19+
$mdc-top-app-bar-title-left-padding: 20px;
2020
$mdc-top-app-bar-section-vertical-padding: 8px;
2121
$mdc-top-app-bar-section-horizontal-padding: 12px;
2222

@@ -27,7 +27,6 @@ $mdc-top-app-bar-mobile-breakpoint: 599px !default;
2727

2828
// Default mobile styles
2929
$mdc-top-app-bar-mobile-row-height: 56px;
30-
$mdc-top-app-bar-mobile-title-left-padding: 12px;
3130
$mdc-top-app-bar-mobile-section-padding: 4px;
3231

3332
// Short top app bar

0 commit comments

Comments
 (0)