1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-27 01:25:34 +00:00

[iframes] Small step forward.

Allow to scroll in iframe which is bigger than screen.
This commit is contained in:
Witold Filipczyk 2021-08-01 19:56:02 +02:00
parent b2b7c0a75a
commit 64d5a4f1dd

View File

@ -205,7 +205,7 @@ format_iframes(struct session *ses, struct iframeset_desc *ifsd,
o.box.y = iframe_desc->y;
o.box.width = iframe_desc->width;
o.box.height = iframe_desc->height;
o.box.height = int_min(iframe_desc->height, ses->tab->term->height - iframe_desc->y - 1);
o.framename = iframe_desc->name;
doc_view = format_iframe(ses, iframe_desc, &o, j);