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-right: 5px;
}
.tag {
background-color: lightgrey;
padding: 3px 7px;
display: inline;
}

View File

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