From 15107a6adc83005152a3cad0bd474d6bfd8f8c09 Mon Sep 17 00:00:00 2001 From: Yohan Simard Date: Sat, 9 Nov 2019 11:54:43 +0100 Subject: [PATCH] Added top padding in the availableRooms screen in landscape --- components/WebViewScreen.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/WebViewScreen.js b/components/WebViewScreen.js index 39503ab..820475a 100644 --- a/components/WebViewScreen.js +++ b/components/WebViewScreen.js @@ -198,6 +198,11 @@ export default class WebViewScreen extends React.Component { elevation: 0, // Fix for android shadow }} locked={true} + style = {{ + paddingTop: this.state.isLandscape ? 20 : 0, + backgroundColor: ThemeManager.getCurrentThemeVariables().brandPrimary + }} + > {this.getTabbedWebview()} }