]> git.ipfire.org Git - thirdparty/git.git/commit
gitweb: add viewport meta tag for mobile devices
authorRito Rhymes <rito@ritovision.com>
Mon, 16 Feb 2026 15:53:27 +0000 (15:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Feb 2026 19:49:12 +0000 (11:49 -0800)
commit18e71bbda1e4e8418a590a3a9490ccdaec7deba0
tree830bc919b431a6ae65122a833a7db8733f76087d
parent67ad42147a7acc2af6074753ebd03d904476118f
gitweb: add viewport meta tag for mobile devices

Without a viewport meta tag, phone browsers render gitweb at desktop
width and scale the whole page down to fit the screen.

Add a viewport meta tag so the layout viewport tracks device width.
This is the baseline needed for mobile CSS fixes in follow-up commits.

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