We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1247281 commit e6b2739Copy full SHA for e6b2739
packages/blitz-dom/src/layout/inline.rs
@@ -215,8 +215,10 @@ impl BaseDocument {
215
let output = self
216
.compute_child_layout(NodeId::from(node_id), float_child_inputs);
217
let min_y = state.line_y() as f32 / scale;
218
- let pos =
+ let mut pos =
219
block_ctx.place_floated_box(output.size, min_y, direction, clear);
220
+ pos.x += container_pb.left;
221
+ pos.y += container_pb.top;
222
223
let min_y = state.line_y() / scale as f64; //.max(pos.y as f64);
224
let next_slot =
0 commit comments