mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
fix: fix controls overlapping back button without accidentally moving controls
This commit is contained in:
@@ -18,7 +18,7 @@ interface HeaderProps {
|
||||
|
||||
export const Header = ({ data }: HeaderProps) => {
|
||||
return (
|
||||
<Controls className="absolute top-0 flex w-full flex-row items-center justify-between px-6 pt-6">
|
||||
<Controls className="absolute top-0 z-10 flex w-full flex-row items-center justify-between px-6 pt-6">
|
||||
<BackButton className="w-36" />
|
||||
<Text className="font-bold">
|
||||
{data.season && data.episode
|
||||
|
@@ -15,7 +15,7 @@ export const MiddleControls = () => {
|
||||
|
||||
return (
|
||||
<TouchableWithoutFeedback onPress={handleTouch}>
|
||||
<View className="absolute flex h-full w-full flex-1 flex-row items-center justify-center gap-24">
|
||||
<View className="absolute inset-x-0 top-1/3 bottom-1/3 flex flex-row items-center justify-center gap-24">
|
||||
<Controls>
|
||||
<SeekButton type="backward" />
|
||||
</Controls>
|
||||
|
Reference in New Issue
Block a user