fix styling

This commit is contained in:
Seth Call 2025-03-02 17:25:40 -06:00
parent 9a913c11e0
commit e30a69b2f6
6 changed files with 13 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -93,13 +93,17 @@
}
}
.jamtrack-listing-header {
margin:0;
font-size:1rem;
}
.jamtrack-listing-item {
margin-bottom: 0rem;
}
.jamtrack-listing-container {
margin: 2rem 0 2.5rem 0;
margin: .2rem 0 2.5rem 0;
max-height:8.5rem;
overflow: auto;
border-style: solid;

View File

@ -211,8 +211,8 @@ const ArtistBodyComponent = ({
</div>
}
const ScrollableHintText = () => {
return isOverflowing ? <strong className="bold" style={{whiteSpace:"nowrap"}}>(scrollable list)</strong> : "";
const JamtrackListingHeader = () => {
return jamTracks == null ? "" : <h3 className="jamtrack-listing-header">{jamTracks.length} Song{jamTracks.length == 1 ? "" : "s"} by This Artist</h3>;
}
return (
@ -234,9 +234,10 @@ band, to slow down playback for practice while building up your speed, to change
up or down, and to record yourself in high-quality audio and video playing or singing with
the track to share with family and friends.</p>
<p>
Click any of the backing track links below {ScrollableHintText()} to get previews of specific songs youre
Click any of the backing track links below to get previews of specific songs youre
interested in, or scroll down to learn more.
</p>
{JamtrackListingHeader()}
<div className="jamtrack-listing-container" ref={jamtrackListingRef}>
<JamTrackListing />
</div>