Skip to content

Commit

Permalink
Tweak css
Browse files Browse the repository at this point in the history
  • Loading branch information
jcraigk committed Nov 9, 2024
1 parent 82925fc commit 0362217
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions app/javascript/components/Tracks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const Tracks = ({ tracks, viewStyle, numbering = false, omitSecondary = false, h
<CoverArt
coverArtUrls={track.show_cover_art_urls}
css="cover-art-small"
size="small"
/>
<span className="text date-link">
<Link to={`/${track.show_date}/${track.slug}`} onClick={(e) => e.stopPropagation()}>
Expand Down
16 changes: 8 additions & 8 deletions app/javascript/stylesheets/content.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -271,18 +271,18 @@ main {
display: flex;
align-items: center;

.text {
margin-left: 0.5rem;
}

.cover-art {
background-color: transparent;
position: relative;
flex-shrink: 0;

.cover-art-small {
top: 5px;
}
}

.cover-art-small {
filter: grayscale(0.5);
top: 5px;
.text {
margin-left: 0.5rem;
flex-shrink: 1;
}
}

Expand Down

0 comments on commit 0362217

Please sign in to comment.