Fix ScrollView padding issues
This commit is contained in:
@@ -71,7 +71,8 @@ const Album: React.FC = () => {
|
||||
|
||||
return (
|
||||
<ScrollView
|
||||
style={{ backgroundColor: '#f6f6f6', padding: 20, paddingBottom: 50 }}
|
||||
style={{ backgroundColor: '#f6f6f6' }}
|
||||
contentContainerStyle={{ padding: 20, paddingBottom: 50 }}
|
||||
refreshControl={
|
||||
<RefreshControl refreshing={isLoading} onRefresh={refresh} />
|
||||
}
|
||||
|
||||
@@ -7,12 +7,15 @@ import Queue from './components/Queue';
|
||||
|
||||
const Container = styled.ScrollView`
|
||||
background-color: #fff;
|
||||
padding: 25px;
|
||||
`;
|
||||
|
||||
const containerStyle = {
|
||||
padding: 25,
|
||||
};
|
||||
|
||||
export default function Player() {
|
||||
return (
|
||||
<Container>
|
||||
<Container contentContainerStyle={containerStyle}>
|
||||
<NowPlaying />
|
||||
<MediaControls />
|
||||
<ProgressBar />
|
||||
|
||||
Reference in New Issue
Block a user