feat(etherpad): ui fixes
This commit is contained in:
parent
7770d59c93
commit
40128277bc
|
@ -59,9 +59,11 @@ class SharedDocument extends PureComponent<Props> {
|
||||||
addHeaderHeightValue = { true }
|
addHeaderHeightValue = { true }
|
||||||
style = { styles.sharedDocContainer }>
|
style = { styles.sharedDocContainer }>
|
||||||
<WebView
|
<WebView
|
||||||
|
hideKeyboardAccessoryView = { true }
|
||||||
renderLoading = { this._renderLoading }
|
renderLoading = { this._renderLoading }
|
||||||
source = {{ uri: _documentUrl }}
|
source = {{ uri: _documentUrl }}
|
||||||
startInLoadingState = { true } />
|
startInLoadingState = { true }
|
||||||
|
style = { styles.sharedDoc } />
|
||||||
</JitsiScreen>
|
</JitsiScreen>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +1,29 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import { ColorPalette } from '../../../base/styles';
|
import BaseTheme from '../../../base/ui/components/BaseTheme.native';
|
||||||
|
|
||||||
export const INDICATOR_COLOR = ColorPalette.lightGrey;
|
|
||||||
|
export const INDICATOR_COLOR = BaseTheme.palette.indicatorColor;
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
indicatorWrapper: {
|
indicatorWrapper: {
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
backgroundColor: ColorPalette.white,
|
backgroundColor: BaseTheme.palette.ui12,
|
||||||
height: '100%',
|
height: '100%',
|
||||||
justifyContent: 'center'
|
justifyContent: 'center'
|
||||||
},
|
},
|
||||||
|
|
||||||
sharedDocContainer: {
|
sharedDocContainer: {
|
||||||
flex: 1
|
backgroundColor: BaseTheme.palette.ui12,
|
||||||
|
flex: 1,
|
||||||
|
paddingRight: BaseTheme.spacing[3]
|
||||||
|
},
|
||||||
|
|
||||||
|
sharedDoc: {
|
||||||
|
marginBottom: BaseTheme.spacing[3]
|
||||||
},
|
},
|
||||||
|
|
||||||
webView: {
|
webView: {
|
||||||
backgroundColor: 'rgb(242, 242, 242)'
|
backgroundColor: BaseTheme.palette.ui12
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue