Skip to content

Commit 7db71f9

Browse files
committed
feat: update docs to reflect the new styles bar changes
1 parent abbe737 commit 7db71f9

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

docs/02-Live Preview/03-styles-bar.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,16 @@ The **Outline** tab has the same style, width, and color options, plus:
125125
126126
<!-- TODO: PLUTO - add image here showing the border and outline popover -->
127127

128-
## Margin & Padding
128+
## Box Model
129129

130-
The popover has two tabs, **Padding** and **Margin**. Each tab shows four fields for the top, right, bottom, and left sides, arranged around a frame just like they sit on the page.
130+
The popover has three tabs, **Size**, **Padding**, and **Margin**. They sit together because they measure one element from the inside out.
131+
132+
The **Size** tab:
133+
134+
- **Width and Height**: The element's size. Empty fields show the current size of the element as placeholders.
135+
- **Min / max**: Click the chip to set minimum and maximum size limits. This is very useful for creating responsive web pages.
136+
137+
The **Padding** and **Margin** tabs each show four fields for the top, right, bottom, and left sides, arranged around a frame just like they sit on the page.
131138

132139
> Padding is the space inside the element, between its content and its border. Margin is the space outside it.
133140
@@ -139,16 +146,11 @@ The button in the center of the frame controls how the sides are linked:
139146

140147
Linked fields are color coded so you can see which sides move together.
141148

142-
<!-- TODO: PLUTO - add image here showing the margin and padding popover -->
149+
<!-- TODO: PLUTO - add image here showing the box model popover -->
143150

144151
## Layout
145152

146-
The popover has three tabs, **Size**, **Display**, and **Position**.
147-
148-
The **Size** tab:
149-
150-
- **Width and Height**: The element's size. Empty fields show the current size of the element as placeholders.
151-
- **Min / max**: Click the chip to set minimum and maximum size limits. This is very useful for creating responsive web pages.
153+
The popover has two tabs, **Display** and **Position**.
152154

153155
The **Display** tab:
154156

0 commit comments

Comments
 (0)