remove safe insets

This commit is contained in:
Jelle van Snik 2023-02-07 23:35:02 +01:00
parent d8e2597db7
commit bd7799b5c1
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ export interface NavigationProps {
export function Navigation(props: NavigationProps) { export function Navigation(props: NavigationProps) {
return ( 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 <div
className={`${ className={`${
props.bg ? "opacity-100" : "opacity-0" props.bg ? "opacity-100" : "opacity-0"

View File

@ -1,4 +1,4 @@
import { useCallback, useState } from "react"; import { useCallback, useMemo, useState } from "react";
import Sticky from "react-stickynode"; import Sticky from "react-stickynode";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { Navigation } from "@/components/layout/Navigation"; import { Navigation } from "@/components/layout/Navigation";