微调排行榜列表宽度及字体大小

This commit is contained in:
lyswhut 2023-05-01 12:21:24 +08:00
parent dafd114b45
commit 7da0760a4f
3 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@
- 增加kg歌单歌曲flac24bit显示@helloplhm-qwq - 增加kg歌单歌曲flac24bit显示@helloplhm-qwq
- 增加tx源热门评论图片显示@Folltoshe - 增加tx源热门评论图片显示@Folltoshe
- 支持wy热门评论翻页 - 支持wy热门评论翻页
- 微调排行榜列表宽度及字体大小
### 修复 ### 修复

View File

@ -47,7 +47,7 @@ export default ({ item, activeId, index, longPressIndex, onBoundChange, onShowMe
? <Icon style={styles.listActiveIcon} name="chevron-right" size={12} color={theme['c-primary-font']} /> ? <Icon style={styles.listActiveIcon} name="chevron-right" size={12} color={theme['c-primary-font']} />
: null : null
} }
<Text style={styles.listName} size={14} color={active ? theme['c-primary-font-active'] : theme['c-font']} numberOfLines={1}>{item.name}</Text> <Text style={styles.listName} size={13} textBreakStrategy="simple" color={active ? theme['c-primary-font-active'] : theme['c-font']} numberOfLines={1}>{item.name}</Text>
</Button> </Button>
) )
} }

View File

@ -86,6 +86,7 @@ const styles = createStyle({
flexDirection: 'column', flexDirection: 'column',
width: '26%', width: '26%',
maxWidth: 180, maxWidth: 180,
minWidth: 110,
flexGrow: 0, flexGrow: 0,
flexShrink: 0, flexShrink: 0,
borderRightWidth: BorderWidths.normal, borderRightWidth: BorderWidths.normal,