Open album art in new tab when clicking on it
This commit is contained in:
parent
726268b005
commit
89dc500b7f
|
@ -166,7 +166,11 @@
|
|||
background-color: #445;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
transition: transform 200ms ease-in-out;
|
||||
}
|
||||
.nowplaying .albumart:hover {
|
||||
transform: scale(1.05);
|
||||
};
|
||||
|
||||
.nowplaying .metadata {
|
||||
flex: 1;
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
<div class="current">
|
||||
{% if let Some(song) = song %}
|
||||
<div class="albumart">
|
||||
<img src="/art?path={{ song.file }}" onerror="this.style.opacity = 0">
|
||||
<a href="/art?path={{ song.file }}" target="_blank">
|
||||
<img src="/art?path={{ song.file }}" onerror="this.style.opacity = 0">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="metadata">
|
||||
|
|
Loading…
Reference in New Issue