mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-26 08:31:50 +01:00
Only apply stable gutter to home page
This commit is contained in:
parent
7838adbd87
commit
a8b8810c33
@ -7,7 +7,6 @@ body {
|
|||||||
@apply bg-background-main font-open-sans text-type-text;
|
@apply bg-background-main font-open-sans text-type-text;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
min-height: 100dvh;
|
min-height: 100dvh;
|
||||||
scrollbar-gutter: stable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-full],
|
html[data-full],
|
||||||
|
@ -42,6 +42,11 @@ export function HomePage() {
|
|||||||
<HomeLayout showBg={showBg}>
|
<HomeLayout showBg={showBg}>
|
||||||
<div className="mb-16 sm:mb-24">
|
<div className="mb-16 sm:mb-24">
|
||||||
<Helmet>
|
<Helmet>
|
||||||
|
<style type="text/css">{`
|
||||||
|
html, body {
|
||||||
|
scrollbar-gutter: stable;
|
||||||
|
}
|
||||||
|
`}</style>
|
||||||
<title>{t("global.name")}</title>
|
<title>{t("global.name")}</title>
|
||||||
</Helmet>
|
</Helmet>
|
||||||
<HeroPart searchParams={searchParams} setIsSticky={setShowBg} />
|
<HeroPart searchParams={searchParams} setIsSticky={setShowBg} />
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import { RunOutput } from "@movie-web/providers";
|
import { RunOutput } from "@movie-web/providers";
|
||||||
import { useCallback, useEffect, useState } from "react";
|
import { useCallback, useEffect, useState } from "react";
|
||||||
import { Helmet } from "react-helmet-async";
|
|
||||||
import {
|
import {
|
||||||
Navigate,
|
Navigate,
|
||||||
useLocation,
|
useLocation,
|
||||||
@ -93,13 +92,6 @@ export function RealPlayerView() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<PlayerPart backUrl={backUrl} onMetaChange={metaChange}>
|
<PlayerPart backUrl={backUrl} onMetaChange={metaChange}>
|
||||||
<Helmet>
|
|
||||||
<style type="text/css">{`
|
|
||||||
html, body {
|
|
||||||
scrollbar-gutter: auto;
|
|
||||||
}
|
|
||||||
`}</style>
|
|
||||||
</Helmet>
|
|
||||||
{status === playerStatus.IDLE ? (
|
{status === playerStatus.IDLE ? (
|
||||||
<MetaPart onGetMeta={setPlayerMeta} />
|
<MetaPart onGetMeta={setPlayerMeta} />
|
||||||
) : null}
|
) : null}
|
||||||
|
Loading…
Reference in New Issue
Block a user