mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-17 15:04:18 +03:00
No need to reduce box height when adding scrollbar.
svn path=/trunk/netsurf/; revision=3777
This commit is contained in:
parent
ae3555ccdd
commit
252aa870f8
@ -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 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user