Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 8242e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/resources/lib/layout/html.jelly
Expand Up @@ -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}">
Expand Down

0 comments on commit 8242e0e

Please sign in to comment.