File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/client/components/player Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -88,10 +88,10 @@ art = {},
8888 < FontAwesomeIcon color = "black" icon = { viewMode === 'playlist' ? faTimes : faBars } />
8989 </ button >
9090 < section className = "player__body" >
91- < div className = "player__info" style = { { position : 'relative' } } >
92- < div className = "player-album" > { playArt !== undefined ? < img style = { { height : '100%' } } src = { playArt } > </ img > : null } </ div >
93- < p className = "title" > { calculated !== 'stopped' ? track : '-' } </ p >
94- < p className = "subtitle" > { calculated !== 'stopped' ? artists . join ( ' / ' ) : '-' } </ p >
91+ < div className = "player__info" style = { { position : 'relative' , zIndex : 0 } } >
92+ < div className = "player-album" > { playArt !== undefined ? < img style = { { height : '100%' , maxWidth : '90px '} } src = { playArt } > </ img > : null } </ div >
93+ < p className = "title" > { calculated !== 'stopped' ? track : '-' } </ p >
94+ < p className = "subtitle" > { calculated !== 'stopped' ? artists . join ( ' / ' ) : '-' } </ p >
9595 </ div >
9696
9797 < PlayerTimestamp duration = { duration } current = { data . position || 0 } />
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ $primary: #00ACC1;
3232 }
3333
3434 .player-album {
35- width : 100% ;
35+ // width: 100%;
3636 height : 100% ;
3737 position : absolute ;
3838 left : calc ($spacing / 1 );
@@ -163,6 +163,7 @@ $primary: #00ACC1;
163163 padding-top : calc ($spacing / 4 );
164164 margin-bottom : $spacing ;
165165 text-transform : uppercase ;
166+ position : relative ;
166167 }
167168 }
168169}
You can’t perform that action at this time.
0 commit comments