From 85c958c30128f107d1044e073e71778002713d7e Mon Sep 17 00:00:00 2001 From: YasinOnm08 Date: Fri, 20 Sep 2024 15:27:21 +0200 Subject: [PATCH 1/2] setiing css --- app/styles/Settings.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/styles/Settings.css b/app/styles/Settings.css index ff74100..a3c7fa0 100644 --- a/app/styles/Settings.css +++ b/app/styles/Settings.css @@ -12,6 +12,14 @@ z-index: 10000; } +.settings-container{ + + display: grid; + grid-template-columns: 1fr 3fr; /* 1fr for sidebar, 3fr for main content */ + grid-auto-flow: column; + overflow-x:hidden; +} + /* Settings content */ .settings-content { background: #f5f5f5; @@ -22,9 +30,6 @@ max-width: 800px; height: 90%; max-height: 600px; - display: grid; - grid-template-columns: 1fr 3fr; /* 1fr for sidebar, 3fr for main content */ - grid-auto-flow: column; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); overflow: scroll; /* Prevents overflow of the content */ position: relative; /* Needed for absolute positioning of close button */ From 1744148b1b5ef9c8e8417b3c45be4ede0e67005e Mon Sep 17 00:00:00 2001 From: YasinOnm08 Date: Mon, 23 Sep 2024 08:05:29 +0200 Subject: [PATCH 2/2] doc/faq css tweak --- app/styles/doc.css | 2 +- app/styles/faq.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/styles/doc.css b/app/styles/doc.css index c8fd63e..d924358 100644 --- a/app/styles/doc.css +++ b/app/styles/doc.css @@ -12,7 +12,7 @@ background: #fff; padding: 2rem; border-radius: 8px; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); + box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); overflow-y: scroll; } diff --git a/app/styles/faq.css b/app/styles/faq.css index e3201d4..05e93e5 100644 --- a/app/styles/faq.css +++ b/app/styles/faq.css @@ -15,7 +15,7 @@ border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); overflow-y: scroll; /* Allow vertical scrolling if content overflows */ - margin: 0 auto; + margin: 2rem auto; height: 80vh; } @@ -31,6 +31,7 @@ padding: 10px; border-radius: 5px; background-color: #333; + transition: background-color 0.3s ease-in-out; } .faq-item h3 { @@ -47,5 +48,4 @@ .faq-item:hover { background-color: #444; - transition: background-color 0.3s; }