Skip to content

Commit d623d36

Browse files
committed
Merge commit '12d2c6dcffd55a6c5242dab9c9c82c425c65d82c'
2 parents dc4a1d9 + 12d2c6d commit d623d36

16 files changed

Lines changed: 4004 additions & 5947 deletions

docs/layout/dynamic-font-scaling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ html {
6767
<div class="child">Child element with 80px</div>
6868
</div>
6969
</div>
70-
```
7170

7271
<div style={{ fontSize: '20px' }}>
7372
Parent element with 20px
@@ -76,6 +75,7 @@ html {
7675
<div style={{ fontSize: '2em' }}>Child element with 80px</div>
7776
</div>
7877
</div>
78+
```
7979

8080
この複合効果により、ダイナミックフォントスケーリングで作業する際は、`em`単位の代わりに`rem`単位を使用することを強くお勧めします。`rem`単位は、要素のフォントサイズをルート要素(通常は`<html>`)のフォントサイズを基準に設定します。ルート要素のデフォルトフォントサイズは通常`16px`です。
8181

static/code/stackblitz/v7/angular/package-lock.json

Lines changed: 290 additions & 196 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)