Skip to content

Commit

Permalink
resolves Textualize#3833 - change wording/grammar in the documentatio…
Browse files Browse the repository at this point in the history
…n for box-sizing
  • Loading branch information
1dancook committed Dec 11, 2023
1 parent 0bbf9d1 commit 0e361e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,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 to the box model for `border-box`.
If you set `box_sizing` to `"content-box"` then the 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 box model for `border-box`.

=== "content-box"

Expand Down

0 comments on commit 0e361e8

Please sign in to comment.