pstream is dead; long live pstream
taciturnaxolotl.github.io/pstream-ng/
1export function Card(props: { children: React.ReactNode }) {
2 return (
3 <div className="h-full grid grid-rows-[1fr]">
4 <div className="px-6 h-full flex flex-col justify-start overflow-y-auto overflow-x-hidden pb-4 scrollbar-none">
5 {props.children}
6 </div>
7 </div>
8 );
9}
10
11export function CardWithScrollable(props: { children: React.ReactNode }) {
12 return (
13 <div className="[&>*]:px-6 h-full grid grid-rows-[auto,1fr] [&>*:nth-child(2)]:overflow-y-auto [&>*:nth-child(2)]:overflow-x-hidden">
14 {props.children}
15 </div>
16 );
17}