Skip to content

Commit 9c9e001

Browse files
committed
better control for status bar overflow
1 parent 5402be5 commit 9c9e001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/displays/mira.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@
5757

5858
<div style="margin-top: 1.5rem;"></div>
5959
<div style="display: flex; justify-content: space-between; margin-bottom: .5rem;">
60-
<div>
60+
<div style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 1rem;">
6161
<% view_object[:status_icons_with_labels].each do |status_icon, label| %>
6262
<span style="margin-right: .5rem;">
6363
<i class="fa-solid fa-<%= status_icon %>"></i>
6464
<%= label %>
6565
</span>
6666
<% end %>
6767
</div>
68-
<div style="text-align: right;">
68+
<div style="text-align: right; flex-shrink: 0;">
6969
<% if view_object[:birdnet_most_unusual_species_trailing_24h].present? %>
7070
<i class="fa-solid fa-crow"></i>
7171
<%= view_object[:birdnet_most_unusual_species_trailing_24h] %>

0 commit comments

Comments
 (0)