kropka kategorii na malych ekranach
This commit is contained in:
@@ -991,4 +991,11 @@ td select.tom-dark {
|
||||
@media (min-width: 421px) {
|
||||
.user-label-desktop { display: inline !important; }
|
||||
.user-label-mobile { display: none !important; }
|
||||
}
|
||||
}
|
||||
|
||||
.badge.rounded-circle.category-dot {
|
||||
min-width: 0.75rem !important;
|
||||
padding: 0 !important;
|
||||
font-size: 0 !important;
|
||||
line-height: 1 !important;
|
||||
}
|
||||
|
||||
@@ -84,10 +84,14 @@
|
||||
</a>
|
||||
|
||||
{% for cat in l.category_badges %}
|
||||
<span class="badge rounded-pill text-dark ms-1"
|
||||
style="background-color: {{ cat.color }}; font-size: 0.56rem; opacity: 0.85;">
|
||||
{{ cat.name }}
|
||||
</span>
|
||||
<span class="badge rounded-pill text-dark ms-1 d-none d-sm-inline"
|
||||
style="background-color: {{ cat.color }}; font-size: 0.56rem; opacity: 0.85;">
|
||||
{{ cat.name }}
|
||||
</span>
|
||||
<span class="badge rounded-circle ms-1 d-sm-none category-dot"
|
||||
style="width: 0.75rem; height: 0.75rem; background-color: {{ cat.color }};
|
||||
border: 1px solid rgba(255,255,255,0.4); opacity: 0.95;"
|
||||
title="{{ cat.name }}" aria-label="Kategoria: {{ cat.name }}"></span>
|
||||
{% endfor %}
|
||||
</span>
|
||||
|
||||
@@ -191,10 +195,14 @@
|
||||
</a>
|
||||
|
||||
{% for cat in l.category_badges %}
|
||||
<span class="badge rounded-pill text-dark ms-1"
|
||||
style="background-color: {{ cat.color }}; font-size: 0.56rem; opacity: 0.85;">
|
||||
{{ cat.name }}
|
||||
</span>
|
||||
<span class="badge rounded-pill text-dark ms-1 d-none d-sm-inline"
|
||||
style="background-color: {{ cat.color }}; font-size: 0.56rem; opacity: 0.85;">
|
||||
{{ cat.name }}
|
||||
</span>
|
||||
<span class="badge rounded-circle ms-1 d-sm-none category-dot"
|
||||
style="width: 0.75rem; height: 0.75rem; background-color: {{ cat.color }};
|
||||
border: 1px solid rgba(255,255,255,0.4); opacity: 0.95;"
|
||||
title="{{ cat.name }}" aria-label="Kategoria: {{ cat.name }}"></span>
|
||||
{% endfor %}
|
||||
</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user