From fe4cba8baff79d21c47c705c5992329497780f49 Mon Sep 17 00:00:00 2001 From: lyf <1910527151@qq.com> Date: Tue, 24 Sep 2024 22:25:36 +0800 Subject: [PATCH] fix style slect button --- app/components/button.module.scss | 2 +- app/components/model-config.tsx | 2 ++ app/components/settings.module.scss | 6 ++++++ app/components/settings.tsx | 1 + app/components/ui-lib.module.scss | 23 +++++++++++++++++------ 5 files changed, 27 insertions(+), 7 deletions(-) diff --git a/app/components/button.module.scss b/app/components/button.module.scss index c65385cfc..05248bee8 100644 --- a/app/components/button.module.scss +++ b/app/components/button.module.scss @@ -7,7 +7,7 @@ padding: 10px; cursor: pointer; transition: all 0.3s ease; - // overflow: hidden; + overflow: hidden; user-select: none; outline: none; border: none; diff --git a/app/components/model-config.tsx b/app/components/model-config.tsx index 04cd3ff01..6fddf7ee7 100644 --- a/app/components/model-config.tsx +++ b/app/components/model-config.tsx @@ -6,6 +6,7 @@ import { InputRange } from "./input-range"; import { ListItem, Select } from "./ui-lib"; import { useAllModels } from "../utils/hooks"; import { groupBy } from "lodash-es"; +import styles from "./ui-lib.module.scss"; export function ModelConfigList(props: { modelConfig: ModelConfig; @@ -242,6 +243,7 @@ export function ModelConfigList(props: { subTitle={Locale.Settings.CompressModel.SubTitle} >