fix style slect button
This commit is contained in:
parent
6d5bf490ab
commit
fe4cba8baf
|
@ -7,7 +7,7 @@
|
|||
padding: 10px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
// overflow: hidden;
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
outline: none;
|
||||
border: none;
|
||||
|
|
|
@ -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}
|
||||
>
|
||||
<Select
|
||||
className={styles["select-model"]}
|
||||
aria-label={Locale.Settings.CompressModel.Title}
|
||||
value={compressModelValue}
|
||||
onChange={(e) => {
|
||||
|
|
|
@ -72,3 +72,9 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.SubTitle-button {
|
||||
button {
|
||||
overflow:visible ;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -690,6 +690,7 @@ export function Settings() {
|
|||
|
||||
const saasStartComponent = (
|
||||
<ListItem
|
||||
className={styles["SubTitle-button"]}
|
||||
title={
|
||||
Locale.Settings.Access.SaasStart.Title +
|
||||
`${Locale.Settings.Access.SaasStart.Label}`
|
||||
|
|
|
@ -250,7 +250,8 @@
|
|||
|
||||
.select-with-icon {
|
||||
position: relative;
|
||||
max-width: 60%;
|
||||
max-width: fit-content;
|
||||
|
||||
&.left-align-option {
|
||||
option {
|
||||
text-align: left;
|
||||
|
@ -280,6 +281,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
.select-model {
|
||||
width: 60%;
|
||||
.select-with-icon-select {
|
||||
max-width: 100%;
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.modal-input {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
@ -337,3 +347,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue