Move lyrics location into artwork
This commit is contained in:
1 parent
25b9382635
commit
1a88adeabc
3 files changed
+31
-18
No files matched your search
@@ -23,8 +23,14 @@ $waveActive = radio_waveform_active();
|
||||
|
||||
<main class="player-wrap">
|
||||
<section class="player-card" id="card">
|
||||
<img id="art" class="album-art" src="<?= e($fallbackArt) ?>"
|
||||
alt="Album art" title="<?= e(cfg('site.name')) ?>"/>
|
||||
<div class="art-wrap">
|
||||
<img id="art" class="album-art" src="<?= e($fallbackArt) ?>"
|
||||
alt="Album art" title="<?= e(cfg('site.name')) ?>"/>
|
||||
<?php if ($lyricsEnabled): ?>
|
||||
<button id="lyrics-toggle" class="lyrics-toggle" type="button" hidden aria-pressed="false">Lyrics</button>
|
||||
<div id="lyrics" class="lyrics" hidden></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="track-meta">
|
||||
<div class="track-name" id="track-name"><?= e(cfg('site.name')) ?></div>
|
||||
@@ -59,14 +65,7 @@ $waveActive = radio_waveform_active();
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($lyricsEnabled): ?>
|
||||
<button id="lyrics-toggle" class="btn-accent" type="button" hidden>Show lyrics</button>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
|
||||
<?php if ($lyricsEnabled): ?>
|
||||
<div id="lyrics" class="lyrics" hidden></div>
|
||||
<?php endif; ?>
|
||||
</main>
|
||||
|
||||
<?php if ($showHistory): ?>
|
||||
|
||||
Reference in new issue
Block a user