From 97d5b4a3794ae9b1cd1ae3680325c8eb3d0dbbae Mon Sep 17 00:00:00 2001 From: Komal Date: Sun, 9 Oct 2022 18:47:23 +0530 Subject: [PATCH] viewportfix --- Komal_Dua/styling.css | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Komal_Dua/styling.css b/Komal_Dua/styling.css index 42dde9b..e2c59d3 100644 --- a/Komal_Dua/styling.css +++ b/Komal_Dua/styling.css @@ -7,6 +7,7 @@ body{ background-color: #333642; + overflow-x: 0 !important; } .container{ @@ -30,11 +31,10 @@ body{ width: 100%; bottom: 0px; } - .code-type{ color: whitesmoke; font-family: 'Roboto' , sans-serif; - height: fit-content; + height: max-content; width: 100%; background-color: #1A1B1F; padding: 10px; @@ -42,29 +42,27 @@ body{ border-bottom: 1px solid #333642 ; /* viewport-fit: 30%; */ } - .code{ background-color: #1D1E22; color: white; width: 100%; height: 100%; } - .output-code{ background-color: #e3e6f0; - /* display: flex; */ position: absolute; left: 505px; top: 0px; right: 0px; bottom: 0px; height: 1000px; - width: 100%; + width: 66%; + /* viewport-fit: 70%; */ } .output-iframe{ height: inherit; width: inherit; - ` */ + viewport-fit: 70%; }