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