From b617878067c67bef5e301b744cfd07bae1af3f0e Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Thu, 15 Sep 2022 11:15:28 +0100 Subject: [PATCH] link to diagram --- docs/guide/styles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/styles.md b/docs/guide/styles.md index 4ba1f7a75..a76ccaaa3 100644 --- a/docs/guide/styles.md +++ b/docs/guide/styles.md @@ -277,7 +277,7 @@ When you set padding or border it reduces the size of the widget's content area. This is generally desirable when you arrange things on screen as you can add border or padding without breaking your layout. Occasionally though you may want to keep the size of the content area constant and grow the size of the widget to fit padding and border. The [box-sizing](../styles/box_sizing.md) style allows you to switch between these two modes. -If you set `box_sizing` to `"content-box"` then space required for padding and border will be added to the widget dimensions. The default value of `box_sizing` is `"border-box"`. Compare the box model diagram for content box to the previous box model diagram. +If you set `box_sizing` to `"content-box"` then space required for padding and border will be added to the widget dimensions. The default value of `box_sizing` is `"border-box"`. Compare the box model diagram for content box to the previous [box model](#box-model) diagram.
--8<-- "docs/images/styles/content_box.excalidraw.svg"