File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ const Player = () => {
9898 </ Chip >
9999 </ div >
100100 </ Grid >
101- < Grid item xs = { 2 } sm = { 4 } md = { 4 } style = { { maxWidth : "22rem" } } >
101+ < Grid item xs = { 2 } sm = { 4 } md = { 4 } className = "player-metadata-container" >
102102 < Box
103103 className = "album-art-container"
104104 sx = { {
Original file line number Diff line number Diff line change 2626 padding-right : 2.5vw ;
2727}
2828
29+ .player-metadata-container {
30+ width : 22rem ;
31+ }
32+
2933.player-album-art {
3034 align-self : center ;
31- max-height : 22rem ;
35+ min-width : 22rem ;
36+ min-height : 22rem ;
37+ max-width : 352px ;
38+ max-height : 352px ;
39+ object-fit : contain ;
3240 border-radius : 2.5% ;
33- @media (general .$is-portrait ) {
34- max -width : 85 vw ;
35- }
36- @media ( max-width : general . $small-mobile ) {
37- max-width : 50 vw ;
41+ @media (max-width : general .$medium-mobile ) {
42+ min -width : 98 vw ;
43+ min-height : 98 vw ;
44+ max-width : 98 vw ;
45+ max-height : 98 vw ;
3846 }
3947}
4048
You can’t perform that action at this time.
0 commit comments