=> a88e85d854340b4af32799681319cca5df4f30d9
[1mdiff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c[m [1mindex 262bd21b..a01b0ba7 100644[m [1m--- a/src/ui/documentwidget.c[m [1m+++ b/src/ui/documentwidget.c[m [36m@@ -425,7 +425,8 @@[m [mstatic int phoneBottomNavbarHeight_DocumentWidget_(const iDocumentWidget *d) {[m }[m [m static int footerHeight_DocumentWidget_(const iDocumentWidget *d) {[m [31m- int hgt = iMaxi(height_Widget(d->footerButtons), height_Banner(d->banner));[m [32m+[m[32m int hgt = iMaxi(height_Widget(d->footerButtons),[m [32m+[m[32m size_GmDocument(d->view.doc).y > 0 ? 2 * lineHeight_Text(banner_FontId) : 0);[m hgt += phoneToolbarHeight_DocumentWidget_(d);[m hgt += phoneBottomNavbarHeight_DocumentWidget_(d);[m /* FIXME: Landscape phone also needs some extra space at the bottom: tab/nav bars. */[m [36m@@ -1667,6 +1668,9 @@[m [mstatic void updateSideIconBuf_DocumentView_(const iDocumentView *d) {[m }[m [m static void drawSideElements_DocumentView_(const iDocumentView *d) {[m [32m+[m[32m if (size_GmDocument(d->doc).y == 0) {[m [32m+[m[32m return;[m [32m+[m[32m }[m const iWidget *w = constAs_Widget(d->owner);[m const iRect bounds = bounds_Widget(w);[m const iRect docBounds = documentBounds_DocumentView_(d);[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).