Skip to content

Commit

Permalink
Merge pull request #5946 from avalonmediasystem/playlist-description
Browse files Browse the repository at this point in the history
Wrap tags in playlist view page to a new line
  • Loading branch information
cjcolvar authored Jul 22, 2024
2 parents 9847348 + 395ccaf commit 2845b64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/javascript/components/PlaylistRamp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ const Ramp = ({
</div>
</Col>
</Row>
<Row>
<Row className="ramp--playlist-desc-tags">
{comment && (
<div style={{position: 'relative'}}>
<div style={{ position: 'relative' }}>
<h4>{comment_label}</h4>
<div className='ramp--playlist-description' onScroll={handleScrollableDescription}>
<span dangerouslySetInnerHTML={{ __html: description }} />
Expand Down
4 changes: 4 additions & 0 deletions app/javascript/components/Ramp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@
flex-basis: auto;
height: 70vh;

.ramp--playlist-desc-tags {
flex-direction: column;
}

.ramp--playlist-description {
overflow: auto;
max-height: 25vh;
Expand Down

0 comments on commit 2845b64

Please sign in to comment.