Set check/x display property using .d-block

This commit is contained in:
Anton Khorev 2024-05-18 03:11:04 +03:00
parent 3296e168e9
commit 50d5620689
2 changed files with 2 additions and 7 deletions

View file

@ -898,7 +898,6 @@ div.secondary-actions {
height: 50px; height: 50px;
background-image: image-url("welcome-sprite.svg"); background-image: image-url("welcome-sprite.svg");
background-size: 500px 250px; background-size: 500px 250px;
display: block;
} }
.sprite.x { .sprite.x {

View file

@ -12,15 +12,11 @@
<div class='row'> <div class='row'>
<div class='col-sm'> <div class='col-sm'>
<div> <span class='d-block mx-auto sprite check'></span>
<span class='sprite check mx-auto'></span>
</div>
<p><%= t ".whats_on_the_map.on_the_map_html", :real_and_current => tag.em(t(".whats_on_the_map.real_and_current")) %></p> <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>
<div class='col-sm'> <div class='col-sm'>
<div> <span class='d-block mx-auto sprite x'></span>
<span class='sprite x mx-auto'></span>
</div>
<p><%= t ".whats_on_the_map.off_the_map_html", :doesnt => tag.em(t(".whats_on_the_map.doesnt")) %></p> <p><%= t ".whats_on_the_map.off_the_map_html", :doesnt => tag.em(t(".whats_on_the_map.doesnt")) %></p>
</div> </div>
</div> </div>