Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

devversion
Copy link
Member

@devversion devversion commented Sep 2, 2016

The rem SCSS function currently uses a hard-coded font size variable, which makes it impossible for developers to overwrite the global font-size.

The rem function should be moved behind the initialization of the global $font-size variable, and should use this one.

Fixes #9486.

* The `rem` SCSS function currently uses a hard-coded font size variable, which makes it impossible for developers to overwrite the global font-size.
   The rem function should be moved behind the initialization of the global `$font-size` variable, and should use this one.

Fixes angular#9486.
@devversion devversion added the needs: review This PR is waiting on review from the team label Sep 2, 2016
@ThomasBurleson ThomasBurleson added needs: presubmit and removed needs: review This PR is waiting on review from the team labels Sep 2, 2016
@ThomasBurleson ThomasBurleson modified the milestone: 1.1.2 Sep 2, 2016
@kara kara merged commit 1f14cc4 into angular:master Sep 9, 2016
@kara kara added pr: merge ready This PR is ready for a caretaker to review and removed needs: presubmit labels Sep 9, 2016
@devversion devversion deleted the fix/rem-use-font-size-var branch September 9, 2016 10:02
Frank3K pushed a commit to Frank3K/material that referenced this pull request Sep 11, 2016
…ngular#9497)

* The `rem` SCSS function currently uses a hard-coded font size variable, which makes it impossible for developers to overwrite the global font-size.
   The rem function should be moved behind the initialization of the global `$font-size` variable, and should use this one.

Fixes angular#9486.
@dehart
Copy link

dehart commented May 16, 2017

md-datepicker and md-select still use hard-coded size in px

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants