playback - style
This commit is contained in:
+1
-2
@@ -9,7 +9,6 @@ import BaseHeader from "../components/BaseHeader";
|
|||||||
import NavigateHeader from "../components/NavigateHeader";
|
import NavigateHeader from "../components/NavigateHeader";
|
||||||
import { gutters } from "../styles";
|
import { gutters } from "../styles";
|
||||||
|
|
||||||
import { background } from "../assets/index.js";
|
|
||||||
import { isWeb } from "../hooks/useLayoutType.js";
|
import { isWeb } from "../hooks/useLayoutType.js";
|
||||||
// import { useUserData } from "../providers/UserDataProvider.js";
|
// import { useUserData } from "../providers/UserDataProvider.js";
|
||||||
|
|
||||||
@@ -32,7 +31,7 @@ export default ({
|
|||||||
scrollEnabled = false,
|
scrollEnabled = false,
|
||||||
|
|
||||||
onBackPressed = null,
|
onBackPressed = null,
|
||||||
backgroundImg = background.writingBG,
|
backgroundImg = null,
|
||||||
headerTitleStyle = {},
|
headerTitleStyle = {},
|
||||||
hideBackButton = false,
|
hideBackButton = false,
|
||||||
width = undefined,
|
width = undefined,
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ const Playbacks = () => {
|
|||||||
<Page
|
<Page
|
||||||
headerType="NONE"
|
headerType="NONE"
|
||||||
width="100%"
|
width="100%"
|
||||||
containerStyle={{ padding: 0 }}
|
containerStyle={{ padding: 0, margin: 0 }}
|
||||||
>
|
>
|
||||||
<View style={styles.screen}>
|
<View style={styles.screen}>
|
||||||
{activeVideoUrl ? (
|
{activeVideoUrl ? (
|
||||||
@@ -272,11 +272,17 @@ export default Playbacks;
|
|||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
screen: {
|
screen: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
overscrollBehavior: "none",
|
// overscrollBehavior: "none",
|
||||||
position: "relative",
|
// position: "relative",
|
||||||
},
|
},
|
||||||
backgroundVideoWrapper: {
|
backgroundVideoWrapper: {
|
||||||
...StyleSheet.absoluteFillObject,
|
// ...StyleSheet.absoluteFillObject,
|
||||||
|
height: "100%",
|
||||||
|
width: "100%",
|
||||||
|
position: "absolute",
|
||||||
|
top: 0,
|
||||||
|
bottom: 0,
|
||||||
|
left: 0,
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
zIndex: -1,
|
zIndex: -1,
|
||||||
backgroundColor: "#060606",
|
backgroundColor: "#060606",
|
||||||
|
|||||||
Reference in New Issue
Block a user