Skip to content

Commit 14bb1f7

Browse files
committed
Update headers
1 parent e77f274 commit 14bb1f7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/debugging/layout-errors.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,18 @@ Overflow errors typically happen due to one or more of the following reasons:
2727

2828
### Fixing Renderflex Overflow Errors
2929

30-
#### Fix Manually
30+
**Fix Manually**
31+
3132
Here are some quick tips to fix overflow errors manually:
3233

3334
- Use **`Expanded`** or **`Flexible`** widgets to make child widgets adapt to available space.
3435
- Wrap overflowing content in a **`SingleChildScrollView`** to make it scrollable.
3536
- Use **`TextOverflow.ellipsis`** or `maxLines` for long text content.
3637
- Avoid fixed widths/heights; use responsive layout helpers like `MediaQuery` or `LayoutBuilder`.
3738

38-
#### Fix with Agent
39-
40-
Dreamflow’s Agent can help you quickly identify and fix overflow errors.
39+
**Fix with Agent**
4140

42-
**Here’s how to use it:**
41+
Dreamflow’s Agent can help you quickly identify and fix overflow errors. Here’s how to use it:
4342

4443
1. [**Take a screenshot**](../workspace/agent-panel.md#screenshot-mode) of your app preview showing the overflow error (yellow/black bars).
4544
2. **Describe the issue to the Agent.** Here’s an example prompt:

0 commit comments

Comments
 (0)