File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
src/projects/detail/components/FeatureSelector Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ const FeaturePreview = props => {
2424 // }
2525 return (
2626 < div className = "feature-preview flex-grow" >
27- < img src = { previewImg } />
27+ < div className = "feature-preview-img" >
28+ < img src = { previewImg } />
29+ </ div >
2830 </ div >
2931 )
3032}
Original file line number Diff line number Diff line change 22
33.feature-preview {
44 text-align : center ;
5- padding : (8 * $base-unit ) (12 * $base-unit ) ;
6- background : url (' ./images/Device-iPhone.svg' ) no-repeat ;
5+ /* padding: (8 * $base-unit) (12 * $base-unit) ;*/
6+ /* background: url('./images/Device-iPhone.svg') no-repeat;*/
77 background-color : #FBFDFF ;
88 background-position : 50% 22px ;
9- padding-top : 88 px ;
9+ padding : 8 * $base-unit ;
1010 border-left : 1px solid $tc-dark-blue-30 ;
11-
11+ .feature-preview-img {
12+ background : url (' ./images/Device-iPhone.svg' ) no-repeat ;
13+ /* padding: (8 * $base-unit) (12 * $base-unit) ;*/
14+ padding : 9.18vh 1.57vw ;
15+ height : 78.5vh ;
16+ background-size : contain ;
17+ }
1218 img {
13- max-height : 500 px ;
19+ max-height : 100 % ;
1420 }
1521}
You can’t perform that action at this time.
0 commit comments