CSS changes

This commit is contained in:
krateng 2023-09-08 06:11:13 +02:00
parent 668ded7e21
commit 0be122afb6
3 changed files with 18 additions and 5 deletions

View File

@ -11,7 +11,7 @@
{% set thisrange = t.range %} {% set thisrange = t.range %}
<tr> <tr>
<td>{{ thisrange.desc() }}</td> <td class="timerange">{{ thisrange.desc() }}</td>
<td class="rank"> <td class="rank">
{{ links.link_rank(filterkeys,thisrange,rank=t.rank) }} {{ links.link_rank(filterkeys,thisrange,rank=t.rank) }}
</td> </td>

View File

@ -10,7 +10,7 @@
{% set thisrange = t.range %} {% set thisrange = t.range %}
<tr> <tr>
<td>{{ thisrange.desc() }}</td> <td class="timerange">{{ thisrange.desc() }}</td>
<td class="amount"> <td class="amount">
{{ links.link_scrobbles([filterkeys,{'timerange':thisrange}],amount=t.scrobbles) }} {{ links.link_scrobbles([filterkeys,{'timerange':thisrange}],amount=t.scrobbles) }}
</td> </td>

View File

@ -515,9 +515,17 @@ table.twopart>tbody>tr>td {
/* only on startpage for now, implement this for all tables??? */
section table.list {
max-width: 100%;
width: 100%;
table-layout: fixed;
}
table.list { table.list {
border-collapse:collapse; border-collapse:collapse;
} }
table.list tr { table.list tr {
@ -560,13 +568,18 @@ table.list tr:hover {
} }
table.list td.time { table.list td.time {
width:11%; width:9em;
color: var(--text-color-tertiary); color: var(--text-color-tertiary);
} }
table.list td.timerange {
width:9em;
}
table.list tr td.rank { table.list tr td.rank {
padding-right: 4px; padding-right: 4px;
width: 5em;
} }
@ -601,8 +614,8 @@ table.list td.icon div {
} }
table.list td.artists,td.artist,td.title,td.track { table.list td.artists,td.artist,td.title,td.track {
min-width:100px; min-width:500px;
max-width: 40em;
} }