File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
polaris-react/src/components/Text Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @shopify/polaris ' : minor
3+ ---
4+
5+ Added responsive styling to the ` Text ` ` headingXl ` and ` headingLg ` variants
Original file line number Diff line number Diff line change 8383}
8484
8585.headingLg {
86- font-size : var (--p-font-size-300 );
87- line-height : var (--p-font-line-height-3 );
86+ font-size : var (--p-font-size-200 );
87+ line-height : var (--p-font-line-height-2 );
88+
89+ @media #{$p-breakpoints-md-up } {
90+ font-size : var (--p-font-size-300 );
91+ line-height : var (--p-font-line-height-3 );
92+ }
8893}
8994
9095.headingXl {
91- font-size : var (--p-font-size-400 );
92- line-height : var (--p-font-line-height-4 );
96+ font-size : var (--p-font-size-300 );
97+ line-height : var (--p-font-line-height-3 );
98+
99+ @media #{$p-breakpoints-md-up } {
100+ font-size : var (--p-font-size-400 );
101+ line-height : var (--p-font-line-height-4 );
102+ }
93103}
94104
95105.heading2xl {
You can’t perform that action at this time.
0 commit comments