mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-11 19:56:37 +08:00
style(frontend): sync remaining glass UI theme files and cyberpunk theme
This commit is contained in:
@@ -19,10 +19,5 @@ export function CardHeader({
|
||||
}
|
||||
|
||||
export function CardBody({ className, ...props }: React.ComponentProps<"div">) {
|
||||
return (
|
||||
<CardContent
|
||||
className={cn("p-4 md:p-6", className)}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
return <CardContent className={cn("p-4 md:p-6", className)} {...props} />;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,11 @@ export interface DropdownMenuProps {
|
||||
export function DropdownMenu({ children, className }: DropdownMenuProps) {
|
||||
const { align } = React.useContext(DropdownContext);
|
||||
|
||||
return <DropdownMenuContent align={align} className={className}>{children}</DropdownMenuContent>;
|
||||
return (
|
||||
<DropdownMenuContent align={align} className={className}>
|
||||
{children}
|
||||
</DropdownMenuContent>
|
||||
);
|
||||
}
|
||||
|
||||
export interface DropdownItemProps {
|
||||
|
||||
@@ -414,8 +414,8 @@ export function Select<T>({
|
||||
<option value="">{placeholder ?? "请选择"}</option>
|
||||
{options.map((option) => (
|
||||
<option
|
||||
className="bg-background text-foreground"
|
||||
key={option.key}
|
||||
className="bg-background text-foreground"
|
||||
disabled={disabled.has(option.key)}
|
||||
value={option.key}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user