mirror of
https://github.com/ChatGPTNextWeb/NextChat.git
synced 2026-03-03 08:34:53 +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