Browse Source

Added top padding in the availableRooms screen in landscape

Yohan Simard 2 years ago
parent
commit
15107a6adc
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      components/WebViewScreen.js

+ 5
- 0
components/WebViewScreen.js View File

@@ -198,6 +198,11 @@ export default class WebViewScreen extends React.Component<Props, State> {
198 198
                             elevation: 0, // Fix for android shadow
199 199
                         }}
200 200
                         locked={true}
201
+                        style = {{
202
+                            paddingTop: this.state.isLandscape ? 20 : 0,
203
+                            backgroundColor: ThemeManager.getCurrentThemeVariables().brandPrimary
204
+                        }}
205
+
201 206
                     >
202 207
                         {this.getTabbedWebview()}
203 208
                     </Tabs>}

Loading…
Cancel
Save