Elements and Profile screens

This commit is contained in:
Alin Gheorghe
2020-11-03 19:23:15 +02:00
parent 19e7d1d130
commit 4fd0f592fa
2 changed files with 5 additions and 10 deletions

View File

@@ -62,7 +62,7 @@ class Elements extends React.Component {
</Button>
</Block>
<Block row space="evenly">
<Block flex left>
<Block flex left style={{marginTop: 8}}>
<Select
defaultIndex={1}
options={["01", "02", "03", "04", "05"]}
@@ -392,7 +392,7 @@ class Elements extends React.Component {
render() {
return (
<Block flex center>
<ScrollView showsVerticalScrollIndicator={false} contentContainerStyle={{ paddingBottom: 30 }}>
<ScrollView showsVerticalScrollIndicator={false} contentContainerStyle={{ paddingBottom: 30, width }}>
{this.renderButtons()}
{this.renderText()}
{this.renderInputs()}

View File

@@ -128,20 +128,15 @@ class Profile extends React.Component {
</Block>
<Block
row
style={{ paddingVertical: 14, alignItems: "baseline" }}
space="between"
>
<Text bold size={16} color="#525F7F">
<Text bold size={16} color="#525F7F" style={{marginTop: 12}}>
Album
</Text>
</Block>
<Block
row
style={{ paddingBottom: 20, justifyContent: "flex-end" }}
>
<Button
small
color="transparent"
textStyle={{ color: "#5E72E4", fontSize: 12 }}
textStyle={{ color: "#5E72E4", fontSize: 12, marginLeft: 24 }}
>
View all
</Button>