REMOVE: ScrollBar for Homepage and some other pages
This commit is contained in:
@@ -96,7 +96,16 @@ const CategoryPage: React.FC = () => {
|
|||||||
if (hasMoreData && !streams.length) return <LoadingScreen />;
|
if (hasMoreData && !streams.length) return <LoadingScreen />;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DynamicPageContent className="min-h-screen bg-gradient-radial from-[#ff00f1] via-[#0400ff] to-[#ff0000] bg-[url(/images/background-pattern.svg)]">
|
<DynamicPageContent className="min-h-screen bg-gradient-radial from-[#ff00f1] via-[#0400ff] to-[#ff0000] bg-[url(/images/background-pattern.svg)]"style={{ scrollbarWidth: "none", msOverflowStyle: "none" }}
|
||||||
|
>
|
||||||
|
{/* Hide Scrollbar for WebKit-based Browsers */}
|
||||||
|
<style>
|
||||||
|
{`
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
`}
|
||||||
|
</style>
|
||||||
<div className="pt-8">
|
<div className="pt-8">
|
||||||
<ListRow
|
<ListRow
|
||||||
type="stream"
|
type="stream"
|
||||||
|
|||||||
@@ -38,7 +38,16 @@ const ResultsPage: React.FC = ({}) => {
|
|||||||
navbarVariant="no-navbar"
|
navbarVariant="no-navbar"
|
||||||
className="flex flex-col items-stretch justify-stretch h-[70vh] my-[15vh] p-4"
|
className="flex flex-col items-stretch justify-stretch h-[70vh] my-[15vh] p-4"
|
||||||
contentClassName="flex flex-col items-center h-full p-4"
|
contentClassName="flex flex-col items-center h-full p-4"
|
||||||
|
style={{ scrollbarWidth: "none", msOverflowStyle: "none" }}
|
||||||
>
|
>
|
||||||
|
{/* Hide Scrollbar for WebKit-based Browsers */}
|
||||||
|
<style>
|
||||||
|
{`
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
`}
|
||||||
|
</style>
|
||||||
<h1 className="text-3xl font-bold mb-4">
|
<h1 className="text-3xl font-bold mb-4">
|
||||||
Search results for "{query}"
|
Search results for "{query}"
|
||||||
</h1>
|
</h1>
|
||||||
@@ -128,8 +137,7 @@ const ResultsPage: React.FC = ({}) => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={`${
|
className={`${overflow && "absolute top-[5vh] right-[2vw]"
|
||||||
overflow && "absolute top-[5vh] right-[2vw]"
|
|
||||||
} flex gap-[2vw]`}
|
} flex gap-[2vw]`}
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user