Skip to content

Commit 302e202

Browse files
authored
Better style for topbar (weird black marginTop)
1 parent 02325fa commit 302e202

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default class ViewPagerPage extends Component {
6262
</IndicatorViewPager>
6363

6464
<IndicatorViewPager
65-
style={{flex:1,marginTop:10}}
65+
style={{flex:1, paddingTop:20, backgroundColor:'white'}}
6666
indicator={this._renderTitleIndicator()}
6767
>
6868
<View style={{backgroundColor:'cadetblue'}}>
@@ -77,7 +77,7 @@ export default class ViewPagerPage extends Component {
7777
</IndicatorViewPager>
7878

7979
<IndicatorViewPager
80-
style={{flex:1,marginTop:10}}
80+
style={{flex:1, paddingTop:20, backgroundColor:'white'}}
8181
indicator={this._renderTabIndicator()}
8282
>
8383
<View style={{backgroundColor:'cadetblue'}}>

0 commit comments

Comments
 (0)