From 21ae96185a62b4e7602c1517a3eae1b47b031bbb Mon Sep 17 00:00:00 2001 From: Cipher | Vansh Date: Thu, 30 Jan 2025 18:24:21 +0530 Subject: [PATCH] added range slider for panel page --- src/assets/styles/panel.css | 2 + src/pages/panel.astro | 256 ++++++++++++++++++++---------------- 2 files changed, 143 insertions(+), 115 deletions(-) diff --git a/src/assets/styles/panel.css b/src/assets/styles/panel.css index ff1b889..0714472 100644 --- a/src/assets/styles/panel.css +++ b/src/assets/styles/panel.css @@ -60,6 +60,8 @@ .range__option { color: var(--range__option__txt--4); + display:flex; + align-items: center; } .panel__cell { diff --git a/src/pages/panel.astro b/src/pages/panel.astro index 8f69eaf..159494b 100644 --- a/src/pages/panel.astro +++ b/src/pages/panel.astro @@ -9,7 +9,7 @@ import "@/assets/styles/common.css";
@@ -24,6 +24,11 @@ import "@/assets/styles/common.css"; ↔️ +
+ 10 + + 26 +
@@ -31,131 +36,152 @@ import "@/assets/styles/common.css";
- - + // Tell the browser to use our LetterPanel class for elements. + customElements.define("letter-panel", LetterPanel); + +