Fix flex grow in header not working as intended

This commit is contained in:
CasperVerswijvelt 2021-04-21 18:30:51 +02:00 committed by R. Miles McCain
parent f54b67ef0f
commit 4e4cfe081b
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
{% with stats=object.get_daily_stats %}
{% if stats.currently_online > 0 %}
<span class="chip ~positive !high">
<span class="chip ~positive !high whitespace-nowrap">
{{stats.currently_online|intcomma}} online
</span>
{% endif %}

View File

@ -6,8 +6,8 @@
{% block content %}
<div class="md:flex justify-between items-center" id="heading">
<a class="flex items-center mb-4 md:mb-0 flex-1" href="{% contextual_url 'dashboard:service' object.uuid %}">
<h3 class="heading items-center mr-4 md:mr-2 flex flex-1 w-0">
<a class="flex items-center mb-4 md:mb-0 truncate" href="{% contextual_url 'dashboard:service' object.uuid %}">
<h3 class="heading items-center mr-4 md:mr-2 flex truncate">
{{object.link|iconify}}
<span class="flex-1 truncate ml-2" title="{{object.name}}">{{object.name}}</span>
</h3>