mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: set autocomplete height to auto
This commit is contained in:
1 parent
0d7b7c2b33
commit
30c3a11c00
3 files changed
+3
-3
No files matched your search
@@ -10,7 +10,7 @@ const Component = React.forwardRef<any, any>((props, ref) => {
|
|||||||
return (
|
return (
|
||||||
<ProblemSelectAutoCompleteFC
|
<ProblemSelectAutoCompleteFC
|
||||||
ref={ref as any}
|
ref={ref as any}
|
||||||
height="34px"
|
height="auto"
|
||||||
selectedKeys={value.split(',').map((i) => i.trim()).filter((i) => i)}
|
selectedKeys={value.split(',').map((i) => i.trim()).filter((i) => i)}
|
||||||
onChange={(v) => {
|
onChange={(v) => {
|
||||||
setValue(v);
|
setValue(v);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ const Component = React.forwardRef<any, any>((props, ref) => {
|
|||||||
return (
|
return (
|
||||||
<UserSelectAutoCompleteFC
|
<UserSelectAutoCompleteFC
|
||||||
ref={ref as any}
|
ref={ref as any}
|
||||||
height="34px"
|
height="auto"
|
||||||
selectedKeys={value.split(',').map((i) => i.trim()).filter((i) => i)}
|
selectedKeys={value.split(',').map((i) => i.trim()).filter((i) => i)}
|
||||||
onChange={(v) => {
|
onChange={(v) => {
|
||||||
setValue(v);
|
setValue(v);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.34.38",
|
"version": "4.34.39",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
Reference in new issue
Block a user