From 12d68071938e6c4fe735b425390ed550d2e68679 Mon Sep 17 00:00:00 2001 From: Lukas Mestel Date: Mon, 26 Feb 2024 13:21:32 +0100 Subject: [PATCH] feat: set background- & text color --- src/components/SchemaView.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/SchemaView.tsx b/src/components/SchemaView.tsx index 257929d..9d2c2f9 100644 --- a/src/components/SchemaView.tsx +++ b/src/components/SchemaView.tsx @@ -15,17 +15,20 @@ const SchemaContainer = styled.div` `; const SchemaDocContainer = styled.div` - flex: 2; + flex: 1; overflow: auto; + background: #fff; + color: #172b4d; + ${forSize("tablet-landscape-up", "max-width: max(500px, 30%);")} `; const SchemaEditorContainer = styled.div` - flex: 2; + flex: 1; display: none; position: relative; + overflow: hidden; ${forSize("tablet-landscape-up", "display: block;")} - ${forSize("desktop-up", "flex: 3;")} section { overflow: hidden;