Add style for Tags

This commit is contained in:
metalune 2021-03-24 20:27:22 +01:00
parent 8ed26b7b87
commit dda3b3dbec
2 changed files with 9 additions and 3 deletions

View file

@ -4,3 +4,9 @@ body {
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
} }
.tag {
background-color: lightgrey;
padding: 3px 7px;
display: inline;
}

View file

@ -63,7 +63,7 @@ Views: <b>{{ video.views }}</b> Likes: <b>{{ video.likes }}</b> Dislikes: <b>{{
<td><b>Tags</b></td> <td><b>Tags</b></td>
<td> <td>
{% for tag in video.tags %} {% for tag in video.tags %}
{{ tag }} <span class="tag">{{ tag }}</span>
{% endfor %} {% endfor %}
</td> </td>
</tr> </tr>