add border-radius to streamer thumbnails

master
Aevann1 2022-09-22 20:30:51 +02:00
parent 512d906970
commit ce30fa4064
1 changed files with 5 additions and 2 deletions

View File

@ -9,6 +9,9 @@
tr:hover { tr:hover {
border: 2.5px solid var(--primary); border: 2.5px solid var(--primary);
} }
img.thumb {
border-radius: 4px;
}
</style> </style>
<h1 class="py-3"><i class="fas fa-circle mr-3" style="color:red"></i>Live</h1> <h1 class="py-3"><i class="fas fa-circle mr-3" style="color:red"></i>Live</h1>
<div class="overflow-x-auto"> <div class="overflow-x-auto">
@ -16,7 +19,7 @@
<tbody> <tbody>
{% for link, thumb, name, title, viewers in live %} {% for link, thumb, name, title, viewers in live %}
<tr onclick="window.open('{{link}}', '_blank')"> <tr onclick="window.open('{{link}}', '_blank')">
<td width="48"><img src="{{thumb}}" alt="{{name}} thumbnail" referrerpolicy="no-referrer" width="48"></td> <td width="48"><img class="thumb" src="{{thumb}}" alt="{{name}} thumbnail" referrerpolicy="no-referrer" width="48"></td>
<td>{{name}}</td> <td>{{name}}</td>
<td>{{title}}</td> <td>{{title}}</td>
<td>{{viewers}}</td> <td>{{viewers}}</td>
@ -32,7 +35,7 @@
<tbody> <tbody>
{% for link, thumb, name in offline %} {% for link, thumb, name in offline %}
<tr onclick="window.open('{{link}}', '_blank')"> <tr onclick="window.open('{{link}}', '_blank')">
<td width="48"><img src="{{thumb}}" alt="{{name}} thumbnail" referrerpolicy="no-referrer" width="48"></td> <td width="48"><img class="thumb" src="{{thumb}}" alt="{{name}} thumbnail" referrerpolicy="no-referrer" width="48"></td>
<td>{{name}}</td> <td>{{name}}</td>
<td></td> <td></td>
<td></td> <td></td>