Browse Source

Remove title attributes and excessive white-space rule

merge-requests/44/head
Bauke 7 years ago
parent
commit
7c73f413a2
No known key found for this signature in database GPG Key ID: C1C0F29952BCF558
  1. 1
      tildes/scss/modules/_label.scss
  2. 2
      tildes/tildes/templates/includes/topic_tags.jinja2
  3. 2
      tildes/tildes/templates/macros/topics.jinja2

1
tildes/scss/modules/_label.scss

@ -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%;
}

2
tildes/tildes/templates/includes/topic_tags.jinja2

@ -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 %}

2
tildes/tildes/templates/macros/topics.jinja2

@ -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 %}

Loading…
Cancel
Save