diff --git a/packages/web/components/common/MySelect/index.tsx b/packages/web/components/common/MySelect/index.tsx index 3c865f509..32b43c06f 100644 --- a/packages/web/components/common/MySelect/index.tsx +++ b/packages/web/components/common/MySelect/index.tsx @@ -166,20 +166,14 @@ const MySelect = ( const isSelecting = loading || isLoading; return ( - + ( size={'md'} fontSize={'sm'} textAlign={'left'} + h={'auto'} + whiteSpace={'pre-wrap'} + wordBreak={'break-word'} _active={{ transform: 'none' }} @@ -239,7 +236,7 @@ const MySelect = ( { + w={(() => { const w = ButtonRef.current?.clientWidth; if (w) { return `${w}px !important`; @@ -248,7 +245,6 @@ const MySelect = ( ? width.map((item) => `${item} !important`) : `${width} !important`; })()} - w={'auto'} px={'6px'} py={'6px'} border={'1px solid #fff'}