Skip to content

Commit

Permalink
Less padding over track title in .small mode
Browse files Browse the repository at this point in the history
  • Loading branch information
siznax committed Mar 5, 2021
1 parent 60b7414 commit 44ee157
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
15 changes: 15 additions & 0 deletions Moo/play/static/album.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ div#album-cover.small, div#album-cover.small img {
display: inline-block;
width: 100%;
border-radius: 0px;
margin-bottom: -4px;
}


div#album-audio {
position: absolute;
top: 0; left: 63%; width: 36%;
Expand All @@ -23,6 +25,19 @@ div#album-audio.small {
width: 100%;
}


div#audio-table {
position: sticky;
top: 0;
padding-top: 2.2em;
}

.small div#audio-table {
margin-top: 0;
padding-top: 12px;
}


#track-number {
font-size: 1.1em;
margin: 0;
Expand Down
5 changes: 5 additions & 0 deletions Moo/play/static/metadata.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#metadiv {
background-color: lightyellow;
padding:0 4px;
}

#metadiv span {
margin-bottom: 0.4em;
}
Expand Down
5 changes: 1 addition & 4 deletions Moo/play/templates/audio-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
{% set artist = artist.split(';')[0].split(',')[0] %}
{% endif %}

<div
id="audio-table"
class="bg-white"
style="position: sticky; top: 0; padding-top: 2.2em;">
<div id="audio-table" class="bg-white">

<table id="album" class="center">

Expand Down

0 comments on commit 44ee157

Please sign in to comment.