Skip to content

Commit 628cef4

Browse files
committed
Fallback to indefinite bfc width
1 parent 44aceb3 commit 628cef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compute/block.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ pub fn compute_block_layout(
287287
styled_based_known_dimensions
288288
.width
289289
.map(AvailableSpace::Definite)
290-
.unwrap_or(inputs.available_space.width),
290+
.unwrap_or(AvailableSpace::MaxContent),
291291
);
292292
let mut root_ctx = root_bfc.root_block_context();
293293
compute_inner(

0 commit comments

Comments
 (0)