Skip to content

Commit 8b97b8c

Browse files
authored
Merge pull request #87 from wechat-miniprogram/fix-share-element-size
fix: flex-item size
2 parents e85fc34 + 8c44c2d commit 8b97b8c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

miniprogram/packageSkyline/pages/share-element/card/index.wxss

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ share-element {
2323
background-color: #a1cfec8b;
2424
border-radius: 32px;
2525
overflow: hidden;
26+
height: 100%;
27+
width: 100%
2628
}
2729
.description {
2830
font-size: 40px;

miniprogram/packageSkyline/pages/share-element/list/index.wxss

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ share-element {
1919
background-color: #a1cfec8b;
2020
border-radius: 32px;
2121
overflow: hidden;
22+
height: 100%;
23+
width: 100%;
24+
}
25+
image {
26+
width: 100%;
27+
height: 100%;
2228
}
23-
2429
/* image {
2530
width: 100%;
2631
height: 100%;

0 commit comments

Comments
 (0)