]> git.openstreetmap.org Git - rails.git/commitdiff
Move document-level styling for iD to its stylesheet
authorQuincy Morgan <quincy.morgan@icloud.com>
Tue, 28 Apr 2020 17:54:43 +0000 (10:54 -0700)
committerQuincy Morgan <quincy.morgan@icloud.com>
Tue, 28 Apr 2020 17:54:43 +0000 (10:54 -0700)
app/assets/stylesheets/id.css
app/views/site/id.html.erb

index 1e85f055d53e54339dbed01e3a7cc778cd3079f8..07e48e0a1810e592635f6ae2eafc500deabfea29 100644 (file)
@@ -1,3 +1,11 @@
 /*
  *= require iD
  */
+
+/* document-level styling */
+html, body {
+  width: 100%;
+  height: 100%;
+  margin: 0;
+  padding: 0;
+}
index e4dbf2d5336d7ac80c87744890a4ab2866414fd2..e2ce6bb0dc1496893793b43c127ea9cd89fab246 100644 (file)
@@ -6,15 +6,6 @@
   <!--[if !IE || gte IE 9]><!-->
   <%= javascript_include_tag "id" %>
   <!-- <![endif]-->
-  <style type='text/css'>
-    /* apply document-level styling */
-    html, body {
-      width: 100%;
-      height: 100%;
-      margin: 0;
-      padding: 0;
-    }
-  </style>
 </head>
 <body>
 <% data = {} -%>