mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 10:54:22 +08:00
fix style
This commit is contained in:
@@ -298,12 +298,13 @@ export function Select(
|
||||
HTMLSelectElement
|
||||
>,
|
||||
) {
|
||||
const { className, children, align, ...otherProps } = props;
|
||||
const { className, children, align, style, ...otherProps } = props;
|
||||
return (
|
||||
<div
|
||||
className={`${styles["select-with-icon"]} ${
|
||||
align === "left" ? styles["left-align-option"] : ""
|
||||
} ${className}`}
|
||||
style={style}
|
||||
>
|
||||
<select className={styles["select-with-icon-select"]} {...otherProps}>
|
||||
{children}
|
||||
|
Reference in New Issue
Block a user