mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-09-02 04:31:08 +00:00
fix(styles): Removes hard-coded container white backgroundColor (#478)
Fixes #475 #472 added a `backgroundColor` of `white` to the `container` style which broke the ability to set a `transparent` background color on the `WebView` component. This simply removes that unnecessary style.
This commit is contained in:
committed by
Thibault Malbranche
parent
934199d2d5
commit
5ec74ea9bb
@@ -15,7 +15,6 @@ const styles = StyleSheet.create<Styles>({
|
|||||||
container: {
|
container: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
backgroundColor: 'white',
|
|
||||||
},
|
},
|
||||||
errorContainer: {
|
errorContainer: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user