feat: implement Page component
parent
ef4eaa44fc
commit
452cd3b694
@ -0,0 +1,13 @@
|
|||||||
|
import { FlowComponent } from "solid-js";
|
||||||
|
|
||||||
|
const Page: FlowComponent = (props) => {
|
||||||
|
return (
|
||||||
|
<div class="flex-1 flex items-start print:block overflow-y-hidden xxl:overflow-y-auto justify-center min-h-screen print:min-h-0 p-5 print:p-0">
|
||||||
|
<div class="w-[1200px] shrink-0 scale-[.5] md:scale-[0.6] lg:scale-90 xl:scale-100 origin-top print:scale-100 shadow-md print:shadow-none print:w-full bg-white p-5 print:p-0">
|
||||||
|
{props.children}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Page;
|
Loading…
Reference in New Issue