WIP testing a css grid layout for the main app
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
export default function Index() {
|
||||
return (
|
||||
<div className="grid overflow-hidden grid-cols-1 grid-rows-app gap-0 h-screen">
|
||||
<div className="bg-yellow-300 border-yellow-500 border-dashed border h-0">
|
||||
banner
|
||||
</div>
|
||||
<div className="bg-green-300 border-green-500 border-dashed border">
|
||||
header
|
||||
</div>
|
||||
<div className="bg-red-300 border-red-500 border-dashed border">
|
||||
<div className="flex h-full w-24 bg-slate-500"></div>
|
||||
</div>
|
||||
<div className="bg-blue-300 border-blue-500 border-dashed border">
|
||||
footer
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -24,6 +24,10 @@ module.exports = {
|
||||
inspectorHeight: "calc(100vh - 70px)",
|
||||
jsonViewerHeight: "calc(100vh - 106px)",
|
||||
},
|
||||
gridTemplateRows: {
|
||||
'app': '40px 40px auto 40px',
|
||||
'app-banner': '40px auto 40px',
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ["Source Sans Pro", "sans-serif"],
|
||||
mono: ["MonoLisa", "monospace"],
|
||||
|
||||
Reference in New Issue
Block a user