diff options
| author | Rito Rhymes <rito@ritovision.com> | 2026-02-16 15:53:29 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-17 11:49:12 -0800 |
| commit | fd10720357f01baa8a07ff6fa8e22de198424fd3 (patch) | |
| tree | eefcfb3d72dc988f87010c147817cba45e5922e4 /contrib/persistent-https | |
| parent | 5be380d865972652a2cfd3f1f8d090c87489d904 (diff) | |
| download | git-fd10720357f01baa8a07ff6fa8e22de198424fd3.tar.gz git-fd10720357f01baa8a07ff6fa8e22de198424fd3.zip | |
gitweb: fix mobile page overflow across log/commit/blob/diff views
On mobile-sized viewports, gitweb pages in log/commit/blob/diff views can
overflow horizontally due to desktop-oriented paddings and fixed-width
preformatted content.
Extend the existing mobile media query to rebalance those layouts: reduce
or clear paddings in log/commit sections, and allow horizontal scrolling
for preformatted blob/diff content instead of forcing page-wide overflow.
All layout adjustments in this patch are mobile-scoped, except one global
safeguard: set overflow-wrap:anywhere on div.log_body. Log content can
contain escaped or non-breaking text that behaves like a single long token
and can overflow at any viewport width, including desktop.
Signed-off-by: Rito Rhymes <rito@ritovision.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
