Browse Source

remove safe insets

pull/138/head
Jelle van Snik 3 years ago
parent
commit
bd7799b5c1
  1. 2
      src/components/layout/Navigation.tsx
  2. 2
      src/views/search/SearchView.tsx

2
src/components/layout/Navigation.tsx

@ -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"

2
src/views/search/SearchView.tsx

@ -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";

Loading…
Cancel
Save