Skip to content

Commit

Permalink
Minor layout changes on playlist pages
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeop committed May 6, 2019
1 parent c9bd818 commit abac357
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/PlaylistView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class PlaylistView extends React.Component {
/>
</div>
<div className={styles.playlist_header}>
<label className={styles.playlist_header_label}>Playlist</label>
<div className={styles.playlist_name}>
{ playlist.name }
<InputDialog
Expand All @@ -131,7 +132,6 @@ class PlaylistView extends React.Component {
}
/>
</div>
<Spacer />
<div className={styles.playlist_buttons}>
{ this.renderPlayButton() }
{ this.renderOptions(popupTrigger, playlist) }
Expand Down
15 changes: 12 additions & 3 deletions app/components/PlaylistView/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,24 @@
display: flex;
width: 100%;
flex-flow: column;
justify-content: flex-end;
margin: 0 2rem;
}

.playlist_header_label {
font-variant: all-small-caps;
letter-spacing: 2px;
font-size: 1.5rem;
margin-bottom: 0.5rem;
}

.playlist_name {
display: flex;
align-items: center;
margin: 0 1rem 1rem 0;
font-size: 32px;
line-height: 32px;
margin: 0 1rem 2rem 0;
font-size: 40px;
line-height: 40px;
font-weight: bold;

button {
margin-left: 1rem;
Expand Down

0 comments on commit abac357

Please sign in to comment.