mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 04:02:41 +08:00
优化Select component
This commit is contained in:
@@ -254,11 +254,8 @@ export function Select(
|
||||
) {
|
||||
const { className, children, ...otherProps } = props;
|
||||
return (
|
||||
<div className={styles["select-with-icon"]}>
|
||||
<select
|
||||
className={`${styles["select-with-icon-select"]} ${className}`}
|
||||
{...otherProps}
|
||||
>
|
||||
<div className={`${styles["select-with-icon"]} ${className}`}>
|
||||
<select className={styles["select-with-icon-select"]} {...otherProps}>
|
||||
{children}
|
||||
</select>
|
||||
<DownIcon className={styles["select-with-icon-icon"]} />
|
||||
|
Reference in New Issue
Block a user