feat(etherpad): ui fixes

pull/11806/head jitsi-meet_7506
Calin-Teodor 2 years ago committed by Saúl Ibarra Corretgé
parent 7770d59c93
commit 40128277bc
  1. 4
      react/features/etherpad/components/native/SharedDocument.js
  2. 17
      react/features/etherpad/components/native/styles.js

@ -59,9 +59,11 @@ class SharedDocument extends PureComponent<Props> {
addHeaderHeightValue = { true }
style = { styles.sharedDocContainer }>
<WebView
hideKeyboardAccessoryView = { true }
renderLoading = { this._renderLoading }
source = {{ uri: _documentUrl }}
startInLoadingState = { true } />
startInLoadingState = { true }
style = { styles.sharedDoc } />
</JitsiScreen>
);
}

@ -1,22 +1,29 @@
// @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 {
indicatorWrapper: {
alignItems: 'center',
backgroundColor: ColorPalette.white,
backgroundColor: BaseTheme.palette.ui12,
height: '100%',
justifyContent: 'center'
},
sharedDocContainer: {
flex: 1
backgroundColor: BaseTheme.palette.ui12,
flex: 1,
paddingRight: BaseTheme.spacing[3]
},
sharedDoc: {
marginBottom: BaseTheme.spacing[3]
},
webView: {
backgroundColor: 'rgb(242, 242, 242)'
backgroundColor: BaseTheme.palette.ui12
}
};

Loading…
Cancel
Save