Skip to content

Commit

Permalink
Tweaked word wrap in tracks view
Browse files Browse the repository at this point in the history
  • Loading branch information
jjuback committed Aug 9, 2024
1 parent 7209b54 commit 828dad1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Album.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const Album = (props) => {
<>
<Navbar className="fixed-top bg-body-tertiary">
<Container>
<Navbar.Brand className="mw-75 text-truncate">
<Navbar.Brand className="album-title text-truncate">
<img
alt=""
src={makeUrl(props.Cover, props.genre)}
Expand All @@ -43,8 +43,8 @@ export const Album = (props) => {
/>&nbsp;&nbsp;
{props.Title}
</Navbar.Brand>
<Navbar.Collapse className="justify-content-end">
<Navbar.Text className="mw-25 text-truncate">
<Navbar.Collapse className="justify-content-end album-artist">
<Navbar.Text className="text-truncate">
{props.Artist}
</Navbar.Text>
</Navbar.Collapse>
Expand Down
8 changes: 8 additions & 0 deletions src/Artists.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,12 @@ audio {

.figure {
margin-bottom: 0px;
}

.album-title {
max-width: 60% !important;
}

.album-artist {
max-width: 40% !important;
}

0 comments on commit 828dad1

Please sign in to comment.