Skip to content

Commit

Permalink
Add viewport meta tag to HTML head (#155)
Browse files Browse the repository at this point in the history
Much better page dimensions and scaling on mobile devices; this tag is standard practice for HTML these days.

Also see heroku/php-getting-started#74
  • Loading branch information
dzuelke authored Aug 28, 2024
1 parent 035249f commit d3afeb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title>Ruby Getting Started on Heroku</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css' %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
Expand Down

0 comments on commit d3afeb7

Please sign in to comment.