]> git.openstreetmap.org Git - rails.git/commitdiff
Set check/x display property using .d-block
authorAnton Khorev <tony29@yandex.ru>
Sat, 18 May 2024 00:11:04 +0000 (03:11 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 18 May 2024 00:11:04 +0000 (03:11 +0300)
app/assets/stylesheets/common.scss
app/views/site/welcome.html.erb

index 71de054ce2903e8c40fd3df11336929688e3f169..d2134536eb3a5259eb8ddee88fb2a5b7c4629561 100644 (file)
@@ -898,7 +898,6 @@ div.secondary-actions {
     height: 50px;
     background-image: image-url("welcome-sprite.svg");
     background-size: 500px 250px;
-    display: block;
   }
 
   .sprite.x {
index 324d4659a3cdc38b55fca1d68f77ab267931eb3d..dafa37498ec955bbbfe91acd634650b5f430cbc5 100644 (file)
 
 <div class='row'>
   <div class='col-sm'>
-    <div>
-      <span class='sprite check mx-auto'></span>
-    </div>
+    <span class='d-block mx-auto sprite check'></span>
     <p><%= t ".whats_on_the_map.on_the_map_html", :real_and_current => tag.em(t(".whats_on_the_map.real_and_current")) %></p>
   </div>
   <div class='col-sm'>
-    <div>
-      <span class='sprite x mx-auto'></span>
-    </div>
+    <span class='d-block mx-auto sprite x'></span>
     <p><%= t ".whats_on_the_map.off_the_map_html", :doesnt => tag.em(t(".whats_on_the_map.doesnt")) %></p>
   </div>
 </div>