html: layout: flex: Minor code style change
This commit is contained in:
parent
43d5ce44ac
commit
b07bda787c
|
@ -187,19 +187,16 @@ static bool layout_flex_item(
|
|||
|
||||
switch (b->type) {
|
||||
case BOX_BLOCK:
|
||||
success = layout_block_context(b, -1,
|
||||
ctx->content);
|
||||
success = layout_block_context(b, -1, ctx->content);
|
||||
break;
|
||||
case BOX_TABLE:
|
||||
b->float_container = b->parent;
|
||||
success = layout_table(b, available_width,
|
||||
ctx->content);
|
||||
success = layout_table(b, available_width, ctx->content);
|
||||
b->float_container = NULL;
|
||||
break;
|
||||
case BOX_FLEX:
|
||||
b->float_container = b->parent;
|
||||
success = layout_flex(b, available_width,
|
||||
ctx->content);
|
||||
success = layout_flex(b, available_width, ctx->content);
|
||||
b->float_container = NULL;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue