This commit is contained in:
Meenadeveloper 2025-12-13 17:00:23 +05:30
parent bc5e83a253
commit 201c72a2d7

View File

@ -315,8 +315,12 @@ export default function MatchesInterface() {
return ( return (
<> <>
<section
className="h-[100vh] overflow-visible"
>
<div className="grid grid-cols-1 md:grid-cols-[300px_auto] md:px-4 gap-2 md:gap-10" > <div className="grid grid-cols-1 md:grid-cols-[300px_auto] md:px-4 gap-2 md:gap-10" >
<style>{` {/* <style>{`
.scrollbar-hide::-webkit-scrollbar { .scrollbar-hide::-webkit-scrollbar {
display: none; display: none;
} }
@ -324,12 +328,13 @@ export default function MatchesInterface() {
-ms-overflow-style: none; -ms-overflow-style: none;
scrollbar-width: none; scrollbar-width: none;
} }
`}</style> `}</style> */}
{/* Left Sidebar - Fixed on desktop, scrollable on mobile */} {/* Left Sidebar - Fixed on desktop, scrollable on mobile */}
<div <div
style={{ maxHeight: "100vh", position: "sticky", top: "50px" }} style={{ top: "100px", alignSelf: "flex-start" }}
className="w-full rounded-[10px] border border-1 border-gray-200 md:w-80 bg-white md:my-6 shadow-lg overflow-y-auto scrollbar-hide flex-shrink-0" className=" h-[fit-content] w-full rounded-[10px] border border-1 border-gray-200 md:w-80 bg-white md:my-6
shadow-lg sticky self-start"
> >
<div className="py-6 px-4"> <div className="py-6 px-4">
{tabs.map((tab) => { {tabs.map((tab) => {
@ -432,7 +437,7 @@ export default function MatchesInterface() {
</section>