File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
MainFrame/EditorContainers/HomePage/LearnSection Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const styles = {
3939 previewImage : {
4040 width : '100%' ,
4141 display : 'block' ,
42- objectFit : 'cover ' ,
42+ objectFit : 'contain ' ,
4343 borderRadius : 8 ,
4444 border : '1px solid lightgrey' ,
4545 boxSizing : 'border-box' , // Take border in account for sizing to avoid cumulative layout shift.
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const styles = {
3030 container : { maxWidth : 850 } ,
3131 thumbnail : {
3232 display : 'block' , // Display as a block to prevent cumulative layout shift.
33- objectFit : 'cover ' ,
33+ objectFit : 'contain ' ,
3434 verticalAlign : 'middle' ,
3535 borderRadius : 8 ,
3636 width : '100%' ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const styles = {
4646 } ,
4747 thumbnailImageWithDescription : {
4848 display : 'block' , // Display as a block to prevent cumulative layout shift.
49- objectFit : 'cover ' ,
49+ objectFit : 'contain ' ,
5050 verticalAlign : 'middle' ,
5151 width : '100%' ,
5252 borderRadius : 8 ,
You can’t perform that action at this time.
0 commit comments