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

Enables better responsiveness on mobile devices

* fix: Use self-closing tag

* Remove minimum-scale for best accessibility

* Add viewport meta tag
  • Loading branch information
leelavery authored and daniel-beck committed Nov 9, 2016
1 parent 72ee9e0 commit 643442a4804e2275ae674d34c7982f33b72c58b8
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/src/main/resources/lib/layout/layout.jelly
@@ -153,6 +153,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 643442a

Please sign in to comment.