File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ List of used applications with `@baronha/react-native-multiple-image-picker`
2424 target = " _blank"
2525 className = " showcaseItem"
2626 >
27- <img src = { item .banner } alt = { item .title } />
27+ <img src = { item .banner } alt = { item .title } className = " showcaseBanner " />
2828 <b >{ item .title } </b >
2929 <p className = " showcaseTagline" >{ item ?.tagline } </p >
3030 </a >
Original file line number Diff line number Diff line change 22 display : flex;
33 /* justify-content: space-between; */
44 flex-wrap : wrap;
5- gap : 24 px ;
5+ gap : 20 px ;
66}
77
88.showcaseItem {
1818
1919.showcaseItem b {
2020 font-size : 1rem ;
21-
2221}
2322
2423.showcaseItem .showcaseTagline {
3029 margin : 0 ;
3130}
3231
32+ .showcaseBanner {
33+ width : 100% ;
34+ aspect-ratio : 16 / 9 ;
35+ object-fit : cover;
36+ }
37+
3338@media (max-width : 768px ) {
3439 .showcaseItem {
3540 flex : 100% ;
4045@media (min-width : 992px ) {
4146 /* lg */
4247 .showcaseItem {
43-
4448 max-width : 33.333% ;
4549 }
4650}
4751
4852@media (min-width : 1200px ) {
4953 /* xl */
5054 .showcaseItem {
51-
5255 max-width : 33.333% ;
5356 }
5457}
5558
5659@media (min-width : 1400px ) {
5760 /* xxl */
5861 .showcaseItem {
59-
6062 max-width : 33.333% ;
6163 }
6264}
You can’t perform that action at this time.
0 commit comments