update navigation padding

This commit is contained in:
mrjvs 2022-02-25 22:00:51 +01:00
parent 7a55338c23
commit f6493f9800
2 changed files with 4 additions and 5 deletions

View File

@ -3,9 +3,9 @@ import { Icons } from "components/Icon";
import { DISCORD_LINK, GITHUB_LINK } from "mw_constants"; import { DISCORD_LINK, GITHUB_LINK } from "mw_constants";
import { BrandPill } from "./BrandPill"; import { BrandPill } from "./BrandPill";
export function BrandHeader() { export function Navigation() {
return ( return (
<div className="flex justify-between items-center absolute left-0 right-0 top-0 p-3"> <div className="flex justify-between items-center absolute left-0 right-0 top-0 py-5 px-7">
<div> <div>
<BrandPill /> <BrandPill />
</div> </div>

View File

@ -2,7 +2,6 @@ import { WatchedMediaCard } from "components/media/WatchedMediaCard";
import { SearchBarInput } from "components/SearchBar"; import { SearchBarInput } from "components/SearchBar";
import { import {
MWMassProviderOutput, MWMassProviderOutput,
MWMedia,
MWMediaType, MWMediaType,
MWQuery, MWQuery,
SearchProviders, SearchProviders,
@ -17,7 +16,7 @@ import { Title } from "components/text/Title";
import { useDebounce } from "hooks/useDebounce"; import { useDebounce } from "hooks/useDebounce";
import { useLoading } from "hooks/useLoading"; import { useLoading } from "hooks/useLoading";
import { IconPatch } from "components/buttons/IconPatch"; import { IconPatch } from "components/buttons/IconPatch";
import { BrandHeader } from "components/layout/BrandHeader"; import { Navigation } from "components/layout/Navigation";
function SearchLoading() { function SearchLoading() {
return <Loading className="my-12" text="Fetching your favourite shows..." />; return <Loading className="my-12" text="Fetching your favourite shows..." />;
@ -142,7 +141,7 @@ export function SearchView() {
return ( return (
<> <>
<BrandHeader/> <Navigation />
<ThinContainer> <ThinContainer>
{/* input section */} {/* input section */}
<div className="mt-44 space-y-16 text-center"> <div className="mt-44 space-y-16 text-center">