Browse Source
Remove title attributes and excessive white-space rule
merge-requests/44/head
Bauke
7 years ago
No known key found for this signature in database
GPG Key ID: C1C0F29952BCF558
3 changed files with
2 additions and
3 deletions
-
tildes/scss/modules/_label.scss
-
tildes/tildes/templates/includes/topic_tags.jinja2
-
tildes/tildes/templates/macros/topics.jinja2
|
|
|
@ -15,7 +15,6 @@ |
|
|
|
.label-topic-tag { |
|
|
|
background-color: transparent; |
|
|
|
margin: 0 0.4rem 0 0; |
|
|
|
white-space: normal; |
|
|
|
word-wrap: break-word; |
|
|
|
max-width: 100%; |
|
|
|
} |
|
|
|
|
|
|
|
@ -3,7 +3,7 @@ |
|
|
|
|
|
|
|
<ul class="topic-tags"> |
|
|
|
{% for tag in topic.tags %} |
|
|
|
<li class="label label-topic-tag label-topic-tag-{{ tag.replace(' ', '_') }}" title="{{ tag }}"> |
|
|
|
<li class="label label-topic-tag label-topic-tag-{{ tag.replace(' ', '_') }}"> |
|
|
|
<a href="/~{{ topic.group.path }}?tag={{ tag.replace(' ', '_') }}">{{ tag }}</a> |
|
|
|
</li> |
|
|
|
{% else %} |
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ |
|
|
|
{% if topic.tags %} |
|
|
|
<ul class="topic-tags"> |
|
|
|
{% for tag in topic.tags %} |
|
|
|
<li class="label label-topic-tag label-topic-tag-{{ tag.replace(' ', '_') }}" title="{{ tag }}"> |
|
|
|
<li class="label label-topic-tag label-topic-tag-{{ tag.replace(' ', '_') }}"> |
|
|
|
{% if request.matched_route.name in ('home', 'group') %} |
|
|
|
<a href="{{ request.current_listing_normal_url({'tag': tag.replace(' ', '_')}) }}">{{ tag }}</a> |
|
|
|
{% else %} |
|
|
|
|