Fix flex grow in header not working as intended
This commit is contained in:
parent
f54b67ef0f
commit
4e4cfe081b
@ -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 %}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user