]> git.openstreetmap.org Git - rails.git/commitdiff
Tweak labels
authorJohn Firebaugh <john.firebaugh@gmail.com>
Wed, 31 Jul 2013 19:24:26 +0000 (12:24 -0700)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Mon, 5 Aug 2013 15:31:47 +0000 (08:31 -0700)
app/assets/javascripts/leaflet.share.js
app/assets/stylesheets/common.css.scss
config/locales/en.yml

index a32dfc20bbfeb3c1e5881572efeb8f9942704d4b..58879475bc8fb51d30c944614b4ab0c2e4cbbd05 100644 (file)
@@ -157,7 +157,6 @@ L.OSM.share = function (options) {
       .appendTo($form)
       .append(
         $('<label>')
       .appendTo($form)
       .append(
         $('<label>')
-          .attr('class', 'standard-label')
           .attr('for', 'mapnik_format')
           .text(I18n.t('javascripts.share.format')))
       .append($('<select>')
           .attr('for', 'mapnik_format')
           .text(I18n.t('javascripts.share.format')))
       .append($('<select>')
@@ -172,7 +171,6 @@ L.OSM.share = function (options) {
       .attr('class', 'form-row')
       .appendTo($form)
       .append($('<label>')
       .attr('class', 'form-row')
       .appendTo($form)
       .append($('<label>')
-        .attr('class', 'standard-label')
         .attr('for', 'mapnik_scale')
         .text(I18n.t('javascripts.share.scale')))
       .append('1 : ')
         .attr('for', 'mapnik_scale')
         .text(I18n.t('javascripts.share.scale')))
       .append('1 : ')
index acd195a3dc0dd622a10110dc70cc65f972603091..0db2c5302ec1e50867705a7878ec2d9688679092 100644 (file)
@@ -681,6 +681,12 @@ a.donate {
     }
   }
 
     }
   }
 
+  .share-image {
+    label {
+      margin-right: 10px;
+    }
+  }
+
   #embed_html {
     resize: vertical;
   }
   #embed_html {
     resize: vertical;
   }
index 7d417fecc3c15c6baa14304f294edd1be864689f..aabe978f546ee89f3cd309f084335400b255ab1b 100644 (file)
@@ -2057,8 +2057,8 @@ en:
       short_link: "Short Link"
       embed: "HTML"
       custom_dimensions: "Set custom dimensions"
       short_link: "Short Link"
       embed: "HTML"
       custom_dimensions: "Set custom dimensions"
-      format: "Format"
-      scale: "Scale"
+      format: "Format:"
+      scale: "Scale:"
       image_size: "Image will show standard layer at "
       download: "Download"
       short_url: "Short URL"
       image_size: "Image will show standard layer at "
       download: "Download"
       short_url: "Short URL"