]> git.openstreetmap.org Git - rails.git/commitdiff
Use flex+justify instead of floats on export page
authorAnton Khorev <tony29@yandex.ru>
Fri, 4 Apr 2025 10:31:28 +0000 (13:31 +0300)
committerAnton Khorev <tony29@yandex.ru>
Fri, 4 Apr 2025 10:31:28 +0000 (13:31 +0300)
app/assets/stylesheets/common.scss
app/views/site/export.html.erb

index 5d142eb4f1cc401a4a87e0613ca6cd705bcad6db..9fff025d0242947b78cf7e4eaaaf73b351197794 100644 (file)
@@ -674,12 +674,6 @@ tr.turn {
     > * {
         margin: -1px;
     }
-    #minlon {
-      /*rtl:ignore*/ float: left;
-    }
-    #maxlon {
-      /*rtl:ignore*/ float: right;
-    }
   }
 }
 
index d277f344e4530a3a3f6dd467ff35fd5d192daeb3..248fea8cd6a1ab97532e12dbad3ce8988cca9c8b 100644 (file)
@@ -8,7 +8,7 @@
   <div class='export_area_inputs text-center mb-3'>
     <div class='export_boxy border border-secondary-subtle rounded bg-body-secondary' dir='ltr'>
       <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center mx-auto") %>
-      <div class="clearfix">
+      <div class="d-flex justify-content-between">
         <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center my-2") %>
         <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center my-2") %>
       </div>