]> git.openstreetmap.org Git - rails.git/commitdiff
Convert basic terms to a list
authorAnton Khorev <tony29@yandex.ru>
Wed, 15 May 2024 13:21:33 +0000 (16:21 +0300)
committerAnton Khorev <tony29@yandex.ru>
Fri, 17 May 2024 23:33:16 +0000 (02:33 +0300)
app/views/site/welcome.html.erb

index 24bf3defa64a2804559fcae18829b18c6383ce09..ed3d6ceb3779913c47a53361635530467872dd22 100644 (file)
 
 <p><%= t ".basic_terms.paragraph_1" %></p>
 
-<div>
-  <div class='align-middle mb-2'>
+<ul class='list-unstyled'>
+  <li class='mb-2'>
     <span class='sprite term editor'></span>
     <span><%= t ".basic_terms.an_editor_html", :editor => tag.strong(t(".basic_terms.editor")) %></span>
-  </div>
-  <div class='align-middle mb-2'>
+  </li>
+  <li class='mb-2'>
     <span class='sprite term node'></span>
     <span><%= t ".basic_terms.a_node_html", :node => tag.strong(t(".basic_terms.node")) %></span>
-  </div>
-  <div class='align-middle mb-2'>
+  </li>
+  <li class='mb-2'>
     <span class='sprite term way'></span>
     <span><%= t ".basic_terms.a_way_html", :way => tag.strong(t(".basic_terms.way")) %></span>
-  </div>
-  <div class='align-middle mb-2'>
+  </li>
+  <li class='mb-2'>
     <span class='sprite term tag'></span>
     <span><%= t ".basic_terms.a_tag_html", :tag => tag.strong(t(".basic_terms.tag")) %></span>
-  </div>
-</div>
+  </li>
+</ul>
 
 <div class='clearfix'>
   <h2><%= t ".rules.title" %></h2>