From dc75c59a270a3eb016716b45c5224be72d72d2bb Mon Sep 17 00:00:00 2001 From: biswa2005 Date: Thu, 17 Oct 2024 14:20:54 +0530 Subject: [PATCH] Fix:theme toggle slider alignment fix --- .vscode/settings.json | 4 ---- style.css | 8 ++++---- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 0361472b..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "livePreview.defaultPreviewPath": "/login/login.html", - "liveServer.settings.port": 5501 -} \ No newline at end of file diff --git a/style.css b/style.css index 4109b9c6..8890a47c 100644 --- a/style.css +++ b/style.css @@ -259,8 +259,8 @@ button[type="submit"]:hover { .switch { position: relative; display: inline-block; - width: 60px !important; - height: 24px !important; + width: 55px !important; + height: 23px !important; margin-right: 20px; } @@ -273,10 +273,10 @@ button[type="submit"]:hover { .slider { position: absolute; cursor: pointer; - top: 0; + top: 5px; left: 0; right: 0; - bottom: 0; + bottom: -5px; background-color: #ccc; transition: 0.4s; border-radius: 34px;