mirror of
https://github.com/coaidev/coai.git
synced 2025-05-20 05:20:15 +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;
|
||||
}
|
||||
}
|
||||
|
||||
.model-combobox {
|
||||
width: 320px;
|
||||
margin-left: auto;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 100% !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.market-list {
|
||||
|
@ -105,7 +105,7 @@ function SelectGroupMobile(props: SelectGroupProps) {
|
||||
return (
|
||||
<div className={`mb-2 w-full`}>
|
||||
<Select
|
||||
value={props.current.name}
|
||||
value={props.current.name || ""}
|
||||
onValueChange={(value: string) => {
|
||||
props.onChange?.(value);
|
||||
}}
|
||||
|
@ -472,7 +472,7 @@ function Market() {
|
||||
payload: { idx: index, id },
|
||||
});
|
||||
}}
|
||||
className={`ml-auto`}
|
||||
className={`model-combobox`}
|
||||
list={channelModels}
|
||||
placeholder={t(
|
||||
"admin.market.model-id-placeholder",
|
||||
|
Loading…
Reference in New Issue
Block a user