]> Kevux Git Server - rit/commit
gitweb: prevent project search bar from overflowing on mobile
authorRito Rhymes <rito@ritovision.com>
Mon, 16 Feb 2026 15:53:28 +0000 (15:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Feb 2026 19:49:12 +0000 (11:49 -0800)
commit5be380d865972652a2cfd3f1f8d090c87489d904
tree569f299ab2015b6ac462b27902a640486cd6afae
parent18e71bbda1e4e8418a590a3a9490ccdaec7deba0
gitweb: prevent project search bar from overflowing on mobile

On narrow screens, the project search input can exceed the available width
and force page-wide horizontal scrolling.

Add a mobile media query and apply side padding to the search container,
then cap the input width to its container with border-box sizing so the
form stays within the viewport.

Signed-off-by: Rito Rhymes <rito@ritovision.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/static/gitweb.css