From 7e9c4bef397e6d2f38a06c94816a553227ce751f Mon Sep 17 00:00:00 2001 From: Vanii <165997406+Vanicoding27@users.noreply.github.com> Date: Sat, 25 May 2024 17:47:31 +0000 Subject: [PATCH 1/3] style updated --- frontend/src/index.css | 5 +++-- frontend/src/index.js | 2 +- frontend/src/style/Navbar.css | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index bc0d44e5..0122182f 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -24,14 +24,15 @@ body { text-align: center; background: linear-gradient(to left, #04121e, rgb(39, 2, 13), #021f23); color: #8758f6; + position:relative; } .darkmode-layer, .darkmode-toggle { z-index: 35; - display: fixed; + position: absolute; bottom: 18px !important; - left: 0px !important; + } code { diff --git a/frontend/src/index.js b/frontend/src/index.js index d44a7bf7..38fd925e 100644 --- a/frontend/src/index.js +++ b/frontend/src/index.js @@ -10,7 +10,7 @@ const root = ReactDOM.createRoot(document.getElementById('root')); const options = { bottom: 'unset', - right: '10px', + left:'20px' , time: '0.5s', mixColor: '#fff', backgroundColor: '#101623', diff --git a/frontend/src/style/Navbar.css b/frontend/src/style/Navbar.css index 55ae7fca..b36f6bd5 100644 --- a/frontend/src/style/Navbar.css +++ b/frontend/src/style/Navbar.css @@ -2,7 +2,7 @@ .navbar { background-color: #8b5cf6; padding: 8px 10px; - position: fixed; + position: sticky; width: 100%; align-items: center; justify-content: space-between; From c4501d38d02874777310cb33fe68b4c93809e5e4 Mon Sep 17 00:00:00 2001 From: Vanii <165997406+Vanicoding27@users.noreply.github.com> Date: Sat, 25 May 2024 18:05:48 +0000 Subject: [PATCH 2/3] style updated --- frontend/src/index.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 0122182f..c503c267 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -32,7 +32,7 @@ body { z-index: 35; position: absolute; bottom: 18px !important; - + } code { From a3a8e7a5c7423514dc8a856910e37d1527e776c5 Mon Sep 17 00:00:00 2001 From: Vanii <165997406+Vanicoding27@users.noreply.github.com> Date: Sat, 25 May 2024 18:17:37 +0000 Subject: [PATCH 3/3] updated --- frontend/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/index.js b/frontend/src/index.js index 38fd925e..1efc8f34 100644 --- a/frontend/src/index.js +++ b/frontend/src/index.js @@ -10,7 +10,7 @@ const root = ReactDOM.createRoot(document.getElementById('root')); const options = { bottom: 'unset', - left:'20px' , + left:'15px' , time: '0.5s', mixColor: '#fff', backgroundColor: '#101623',