fix(rn,sidebar) fix not appearing on RTL languages
This commit is contained in:
parent
036ef0f387
commit
8106fb06e4
|
@ -83,7 +83,6 @@ class WelcomePageSideBar extends Component<Props> {
|
||||||
return (
|
return (
|
||||||
<SlidingView
|
<SlidingView
|
||||||
onHide = { this._onHideSideBar }
|
onHide = { this._onHideSideBar }
|
||||||
position = 'left'
|
|
||||||
show = { this.props._visible }
|
show = { this.props._visible }
|
||||||
style = { styles.sideBar } >
|
style = { styles.sideBar } >
|
||||||
<Header style = { styles.sideBarHeader }>
|
<Header style = { styles.sideBarHeader }>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { StyleSheet } from 'react-native';
|
import { Dimensions, StyleSheet } from 'react-native';
|
||||||
|
|
||||||
import { BoxModel, ColorPalette } from '../../base/styles';
|
import { BoxModel, ColorPalette } from '../../base/styles';
|
||||||
|
|
||||||
|
@ -196,7 +196,8 @@ export default {
|
||||||
* Container of the side bar.
|
* Container of the side bar.
|
||||||
*/
|
*/
|
||||||
sideBar: {
|
sideBar: {
|
||||||
width: 250
|
width: 250,
|
||||||
|
height: Dimensions.get('window').height
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue