From 09e7cbcc8b85cdd4c0d6c4c04fa5afff63158d91 Mon Sep 17 00:00:00 2001 From: Masahiko Sakakibara Date: Tue, 10 Mar 2026 13:48:29 +0900 Subject: [PATCH] fix(dynamic-font-scaling): fix markdown --- docs/layout/dynamic-font-scaling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/layout/dynamic-font-scaling.md b/docs/layout/dynamic-font-scaling.md index 74d365c0457..1d72b67e3c2 100644 --- a/docs/layout/dynamic-font-scaling.md +++ b/docs/layout/dynamic-font-scaling.md @@ -67,7 +67,6 @@ However, the `em` unit has a compounding effect which can cause issues. In the f
Child element with 80px
-```
Parent element with 20px @@ -76,6 +75,7 @@ However, the `em` unit has a compounding effect which can cause issues. In the f
Child element with 80px
+``` Due to this compounding effect, we strongly recommend using `rem` units instead of `em` units when working with Dynamic Font Scaling. `rem` units set the font size of an element relative to the font size of the root element, which is typically ``. The default font size of the root element is typically `16px`.