mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-07 23:18:38 +08:00
fix: 末行单卡片居中 + 卡片高度不一致
- columnWrapperStyle justifyContent 改为 flex-start,末行单卡片靠左 - title 固定 height: 32px(2行 × lineHeight 16), 使每张卡片 info 区高度相同,消除高度不一致
This commit is contained in:
@@ -161,7 +161,7 @@ const styles = StyleSheet.create({
|
||||
backgroundColor: '#00AEEC',
|
||||
borderRadius: 1,
|
||||
},
|
||||
row: { paddingHorizontal: 8, justifyContent:'center' },
|
||||
row: { paddingHorizontal: 8, justifyContent: 'flex-start' },
|
||||
leftCol: { marginLeft: 4, marginRight: 2 },
|
||||
rightCol: { marginLeft: 2, marginRight: 4 },
|
||||
footer: { height: 48, alignItems: 'center', justifyContent: 'center' },
|
||||
|
||||
Reference in New Issue
Block a user