fix text cutting off bottom w/fixed height

This commit is contained in:
austinried 2021-09-01 15:11:24 +09:00
parent 3719a71e0f
commit 5622c007f2

View File

@ -156,13 +156,13 @@ const infoStyles = StyleSheet.create({
justifyContent: 'center', justifyContent: 'center',
}, },
title: { title: {
height: 28, minHeight: 30,
fontFamily: font.bold, fontFamily: font.bold,
fontSize: 22, fontSize: 22,
color: colors.text.primary, color: colors.text.primary,
}, },
artist: { artist: {
height: 20, minHeight: 21,
fontFamily: font.regular, fontFamily: font.regular,
fontSize: 16, fontSize: 16,
color: colors.text.secondary, color: colors.text.secondary,
@ -363,7 +363,7 @@ const controlsStyles = StyleSheet.create({
alignItems: 'center', alignItems: 'center',
justifyContent: 'space-between', justifyContent: 'space-between',
paddingTop: 10, paddingTop: 10,
paddingBottom: 54, paddingBottom: 40,
}, },
play: { play: {
marginHorizontal: 30, marginHorizontal: 30,
@ -419,7 +419,6 @@ const NowPlayingView: React.FC<NowPlayingProps> = ({ navigation }) => {
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
flex: 1, flex: 1,
// paddingTop: StatusBar.currentHeight,
}, },
content: { content: {
flex: 1, flex: 1,