Skip to content
Permalink
Browse files
[JENKINS-39172] - Add viewport meta tag (#2597)
* Add viewport meta tag

Enables better responsiveness on mobile devices

* fix: Use self-closing tag

* Remove minimum-scale for best accessibility
  • Loading branch information
leelavery authored and oleg-nenashev committed Oct 26, 2016
1 parent ae29e6b commit 8242e0eb1625454ae5539c444c8d8ecf99a70b62
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/src/main/resources/lib/layout/html.jelly
@@ -147,6 +147,7 @@ ${h.initPageVariables(context)}
<link rel="search" type="application/opensearchdescription+xml" href="${rootURL}/opensearch.xml" title="Jenkins" />
</l:hasPermission>
<meta name="ROBOTS" content="INDEX,NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<j:set var="mode" value="header" />
<d:invokeBody />
<j:if test="${extensionsAvailable}">

0 comments on commit 8242e0e

Please sign in to comment.