mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-16 07:11:18 +00:00
Fix typo
This commit is contained in:
parent
08418618ab
commit
4ace342cf0
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ impl Render for TextStory {
|
||||||
))))
|
))))
|
||||||
// NOTE: When rendering text in a horizonal flex container,
|
// NOTE: When rendering text in a horizonal flex container,
|
||||||
// Taffy will not pass width constraints down from the parent.
|
// Taffy will not pass width constraints down from the parent.
|
||||||
// To fix this, render text in a praent with overflow: hidden, which
|
// To fix this, render text in a parent with overflow: hidden
|
||||||
.child(div().h_5())
|
.child(div().h_5())
|
||||||
.child(div().flex().w_96().bg(red()).child(concat!(
|
.child(div().flex().w_96().bg(red()).child(concat!(
|
||||||
"flex-row. width 96. The quick brown fox jumps over the lazy dog. ",
|
"flex-row. width 96. The quick brown fox jumps over the lazy dog. ",
|
||||||
|
|
Loading…
Reference in a new issue