diff options
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index 5704089b6..fdf3856d1 100644 --- a/render/layout.c +++ b/render/layout.c @@ -598,7 +598,6 @@ void layout_block_add_scrollbar(struct box *box, int which) if (which == BOTTOM && box->height != AUTO && (box->style->overflow == CSS_OVERFLOW_SCROLL || box_hscrollbar_present(box))) { - box->height -= SCROLLBAR_WIDTH; box->padding[BOTTOM] += SCROLLBAR_WIDTH; } if (which == RIGHT && box->width != AUTO && |