mirror of
https://github.com/coaidev/coai.git
synced 2025-05-21 22:10:12 +09:00
chore: update mobile adapter of model combo-box
This commit is contained in:
parent
8e9a2df22a
commit
762e39c138
@ -18,6 +18,16 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.model-combobox {
|
||||||
|
width: 320px;
|
||||||
|
margin-left: auto;
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
width: 100% !important;
|
||||||
|
margin-left: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.market-list {
|
.market-list {
|
||||||
|
@ -105,7 +105,7 @@ function SelectGroupMobile(props: SelectGroupProps) {
|
|||||||
return (
|
return (
|
||||||
<div className={`mb-2 w-full`}>
|
<div className={`mb-2 w-full`}>
|
||||||
<Select
|
<Select
|
||||||
value={props.current.name}
|
value={props.current.name || ""}
|
||||||
onValueChange={(value: string) => {
|
onValueChange={(value: string) => {
|
||||||
props.onChange?.(value);
|
props.onChange?.(value);
|
||||||
}}
|
}}
|
||||||
|
@ -472,7 +472,7 @@ function Market() {
|
|||||||
payload: { idx: index, id },
|
payload: { idx: index, id },
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
className={`ml-auto`}
|
className={`model-combobox`}
|
||||||
list={channelModels}
|
list={channelModels}
|
||||||
placeholder={t(
|
placeholder={t(
|
||||||
"admin.market.model-id-placeholder",
|
"admin.market.model-id-placeholder",
|
||||||
|
Loading…
Reference in New Issue
Block a user