border: 1px solid #ddd;
border-radius: 3px;
font-size: 12px;
+ table-layout: fixed;
+ border-collapse: separate;
- li {
+ th, td {
border-bottom: 1px solid #ddd;
}
- li:last-child {
+ tr:last-child th, tr:last-child td {
border-bottom: 0;
}
.browse-tag-k,
.browse-tag-v {
- display: inline-block;
width: 50%;
- float: left;
padding: 6px 10px;
word-wrap: break-word;
}
-<li class='clearfix'>
- <span class='browse-tag-k'><%= format_key(tag[0]) %></span>
- <span class='browse-tag-v'><%= format_value(tag[0], tag[1]) %></span>
-</li>
+<tr>
+ <th class='browse-tag-k'><%= format_key(tag[0]) %></th>
+ <td class='browse-tag-v'><%= format_value(tag[0], tag[1]) %></td>
+</tr>
<% unless tag_details.empty? %>
<h4><%= t 'browse.tag_details.tags' %></h4>
- <ul class='browse-tag-list'>
+ <table class='browse-tag-list'>
<%= render :partial => "tag", :collection => tag_details.sort %>
- </ul>
+ </table>
<% end %>