mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
layout and design improvements
This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
|
||||
// 8 margin main container Top + 40 height header + 16 margin bottom header + 80 recorder
|
||||
const dashboardStart = 144;
|
||||
|
||||
// 8 margin main container Top + 40 height header + 16 margin bottom header + 80 recorder
|
||||
const dashboardStartMd = 144;
|
||||
|
||||
// 16 margin main container Top + 64 height header + 16 margin bottom header + 80 recorder
|
||||
const dashboardStartLg = 176;
|
||||
|
||||
module.exports = {
|
||||
content: [
|
||||
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
@@ -17,10 +8,8 @@ module.exports = {
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
height: {
|
||||
"outer-dashboard": `calc(100svh - ${dashboardStart}px)`,
|
||||
"outer-dashboard-md": `calc(100svh - ${dashboardStartMd + 34}px)`,
|
||||
"outer-dashboard-lg": `calc(100svh - ${dashboardStartLg}px)`,
|
||||
gridTemplateRows: {
|
||||
layout: "auto auto minmax(0, 1fr)",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user