Commit c31333a 1 parent bd7cef4 commit c31333a Copy full SHA for c31333a
File tree 2 files changed +8
-6
lines changed
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`
24
24
target = " _blank"
25
25
className = " showcaseItem"
26
26
>
27
- <img src = { item .banner } alt = { item .title } />
27
+ <img src = { item .banner } alt = { item .title } className = " showcaseBanner " />
28
28
<b >{ item .title } </b >
29
29
<p className = " showcaseTagline" >{ item ?.tagline } </p >
30
30
</a >
Original file line number Diff line number Diff line change 2
2
display : flex;
3
3
/* justify-content: space-between; */
4
4
flex-wrap : wrap;
5
- gap : 24 px ;
5
+ gap : 20 px ;
6
6
}
7
7
8
8
.showcaseItem {
18
18
19
19
.showcaseItem b {
20
20
font-size : 1rem ;
21
-
22
21
}
23
22
24
23
.showcaseItem .showcaseTagline {
30
29
margin : 0 ;
31
30
}
32
31
32
+ .showcaseBanner {
33
+ width : 100% ;
34
+ aspect-ratio : 16 / 9 ;
35
+ object-fit : cover;
36
+ }
37
+
33
38
@media (max-width : 768px ) {
34
39
.showcaseItem {
35
40
flex : 100% ;
40
45
@media (min-width : 992px ) {
41
46
/* lg */
42
47
.showcaseItem {
43
-
44
48
max-width : 33.333% ;
45
49
}
46
50
}
47
51
48
52
@media (min-width : 1200px ) {
49
53
/* xl */
50
54
.showcaseItem {
51
-
52
55
max-width : 33.333% ;
53
56
}
54
57
}
55
58
56
59
@media (min-width : 1400px ) {
57
60
/* xxl */
58
61
.showcaseItem {
59
-
60
62
max-width : 33.333% ;
61
63
}
62
64
}
You can’t perform that action at this time.
0 commit comments