From 2f27e222add9bf10b55971ab915ac411e81d24f0 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Sun, 23 Jan 2022 19:25:56 +0100 Subject: Rewritten ui to use boostrap --- src/components/App/App.module.scss | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'src/components/App/App.module.scss') diff --git a/src/components/App/App.module.scss b/src/components/App/App.module.scss index 9837cdf..088a4f6 100644 --- a/src/components/App/App.module.scss +++ b/src/components/App/App.module.scss @@ -1,3 +1,34 @@ -.content { - flex: 1 0 auto; +.app { + display: flex; + flex-flow: column nowrap; + grid-template-rows: auto 1fr; + height: 100vh; + overflow: hidden; +} + +.main { + display: flex; + flex-flow: row nowrap; + flex-grow: 1; + overflow: hidden; +} + +.sidebar { + width: calc((6 / 16) * 100%); + height: 100%; + overflow-y: auto; +} + +.details { + width: calc((10 / 16) * 100%); + overflow: hidden; + height: 100%; +} + +.noRequest, .noRequestSelected { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; } -- cgit v1.2.3