aED
This commit is contained in:
parent
bc5e83a253
commit
201c72a2d7
@ -315,8 +315,12 @@ export default function MatchesInterface() {
|
|||||||
return (
|
return (
|
||||||
|
|
||||||
<>
|
<>
|
||||||
<div className="grid grid-cols-1 md:grid-cols-[300px_auto] md:px-4 gap-2 md:gap-10">
|
|
||||||
<style>{`
|
<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" >
|
||||||
|
{/* <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) => {
|
||||||
@ -405,7 +410,7 @@ export default function MatchesInterface() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Right Content Area - Scrollable */}
|
{/* Right Content Area - Scrollable */}
|
||||||
<div className=" px-2 py-8">
|
<div className=" px-2 py-8 ">
|
||||||
<div className="w-[100%] max-w-[1200px] mx-auto">
|
<div className="w-[100%] max-w-[1200px] mx-auto">
|
||||||
<div className="flex justify-between gap-2 itemes-center mb-8">
|
<div className="flex justify-between gap-2 itemes-center mb-8">
|
||||||
<h1 className="text-[24px] font-bold text-gray-900 ">
|
<h1 className="text-[24px] font-bold text-gray-900 ">
|
||||||
@ -432,7 +437,7 @@ export default function MatchesInterface() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user