From 3c8cf08c5d35defc9cf22553c646cbbcf97ca8ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Mon, 6 Jan 2025 13:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=87=AA=E5=AE=9A=E4=B9=89Sc?= =?UTF-8?q?roll=E5=B8=83=E5=B1=80=E7=BB=84=E4=BB=B6=E6=9B=BF=E4=BB=A3?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E9=BB=98=E8=AE=A4=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Wheels.module.css | 1 - src/pages/Wheels.tsx | 103 +++++++++++++++++++----------------- 2 files changed, 53 insertions(+), 51 deletions(-) diff --git a/src/pages/Wheels.module.css b/src/pages/Wheels.module.css index a9e8576..14780ad 100644 --- a/src/pages/Wheels.module.css +++ b/src/pages/Wheels.module.css @@ -9,7 +9,6 @@ flex-direction: row; align-items: stretch; gap: var(--spacing-m); - overflow-y: auto; } .function_side { display: flex; diff --git a/src/pages/Wheels.tsx b/src/pages/Wheels.tsx index e9ccdcc..84043d4 100644 --- a/src/pages/Wheels.tsx +++ b/src/pages/Wheels.tsx @@ -3,6 +3,7 @@ import { useAtom } from 'jotai'; import { useState } from 'react'; import { ColorPicker } from '../components/ColorPicker'; import { LabeledPicker } from '../components/LabeledPicker'; +import { ScrollArea } from '../components/ScrollArea'; import { VSegmentedControl } from '../components/VSegmentedControl'; import { ColorWheel } from '../page-components/wheels/ColorWheel'; import { currentPickedColor } from '../stores/colors'; @@ -20,58 +21,60 @@ export function Wheels() {

Color Wheels

Choose the required color on the color wheel according to color theory.

-
- -
- -
-
+ + ); }