Skip to content

Commit

Permalink
Use text-nowrap class instead of custom one
Browse files Browse the repository at this point in the history
  • Loading branch information
Vogtinator committed Jul 10, 2019
1 parent 8f3fc87 commit 5eb7f06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,3 @@
width: 256px;
height: 256px;
}

.badges {
white-space: nowrap;
}
2 changes: 1 addition & 1 deletion app/views/distributions/_distribution.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<li class="nav-item">
<a class="nav-link h-100<% if @yaml_data[0]["name"] == tab["name"] %> active<% end %>" data-toggle="tab" href="#<%= tab["name"] %>-ports" role="tab">
<%= _(tab["name"]) %>
<div class="badges">
<div class="text-nowrap">
<% tab["arches"].try(:each) do |arch| %>
<span class="badge badge-<%= arch["color"] || @colour %>"><%= arch["name"] %></span>
<% end %>
Expand Down

0 comments on commit 5eb7f06

Please sign in to comment.