mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-10 22:55:07 +01:00
remove safe insets
This commit is contained in:
parent
d8e2597db7
commit
bd7799b5c1
@ -12,7 +12,7 @@ export interface NavigationProps {
|
||||
|
||||
export function Navigation(props: NavigationProps) {
|
||||
return (
|
||||
<div className="fixed left-0 right-0 top-0 z-10 mt-[env(safea-area-inset-top)] flex min-h-[88px] items-center justify-between py-5 px-7">
|
||||
<div className="fixed left-0 right-0 top-0 z-10 flex min-h-[88px] items-center justify-between py-5 px-7">
|
||||
<div
|
||||
className={`${
|
||||
props.bg ? "opacity-100" : "opacity-0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { useCallback, useState } from "react";
|
||||
import { useCallback, useMemo, useState } from "react";
|
||||
import Sticky from "react-stickynode";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Navigation } from "@/components/layout/Navigation";
|
||||
|
Loading…
Reference in New Issue
Block a user