@momo-kits/foundation 0.155.1-beta.5 → 0.155.1-beta.5-sp.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Popup/PopupPromotion.tsx +2 -1
- package/package.json +1 -1
package/Popup/PopupPromotion.tsx
CHANGED
|
@@ -106,6 +106,7 @@ const PopupPromotion: React.FC<PopupPromotionProps> = ({
|
|
|
106
106
|
source={{
|
|
107
107
|
uri: image,
|
|
108
108
|
}}
|
|
109
|
+
resizeMode="contain"
|
|
109
110
|
style={[
|
|
110
111
|
styles.container,
|
|
111
112
|
{
|
|
@@ -121,7 +122,7 @@ const PopupPromotion: React.FC<PopupPromotionProps> = ({
|
|
|
121
122
|
|
|
122
123
|
const styles = StyleSheet.create({
|
|
123
124
|
container: {
|
|
124
|
-
aspectRatio: 0.
|
|
125
|
+
aspectRatio: 0.5625, // 9:16
|
|
125
126
|
width: '100%',
|
|
126
127
|
},
|
|
127
128
|
debugBaseLine: { borderWidth: 1, borderColor: Colors.green_06 },
|