Skip to content

Commit

Permalink
[JENKINS-39172] - Add viewport meta tag (#2626)
Browse files Browse the repository at this point in the history
* 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 643442a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/resources/lib/layout/layout.jelly
Expand Up @@ -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}">
Expand Down

0 comments on commit 643442a

Please sign in to comment.