File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import React from "react" ;
2- import style from "./splitBlockNew.module.scss" ;
32
43const SplitBlock = ( { children } : { children : React . ReactNode } ) => {
54 const blocks = React . Children . toArray ( children ) ;
65
76 return (
8- < div className = { style . app } >
9- < div className = { style . mainview } > { blocks [ 0 ] } </ div >
10- < div className = { style . second } > { blocks [ 1 ] } </ div >
7+ < div className = "w-[90vw] h-full rounded-[1.8rem] mx-auto grid grid-cols-12 gap-4 overflow-hidden" >
8+ < div className = "col-span-8 max-w-[90vw] h-full rounded-[1.2rem] overflow-y-auto scrollbar-hide bg-transparent xl:col-span-8 lg:col-span-8 md:col-span-8" >
9+ { blocks [ 0 ] }
10+ </ div >
11+ < div className = "h-full col-span-4 overflow-y-hidden xl:col-span-4 lg:col-span-4 md:col-span-4" >
12+ { blocks [ 1 ] }
13+ </ div >
1114 </ div >
1215 ) ;
1316} ;
1417
15- export default SplitBlock ;
18+ export default SplitBlock ;
You can’t perform that action at this time.
0 commit comments