diff options
-rw-r--r-- | content/handlers/html/layout_flex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/html/layout_flex.c b/content/handlers/html/layout_flex.c index c9e02a6af..b57f3e312 100644 --- a/content/handlers/html/layout_flex.c +++ b/content/handlers/html/layout_flex.c @@ -913,7 +913,7 @@ static void layout_flex__place_lines(struct flex_ctx *ctx) int extra = 0; if (ctx->available_cross != AUTO && - ctx->available_cross != ctx->cross_size && + ctx->available_cross > ctx->cross_size && ctx->line.count > 0) { extra = ctx->available_cross - ctx->cross_size; |