chore: adjust share menu styles (#10630)

close AF-2270 AF-2193 AF-2067
This commit is contained in:
JimmFly
2025-03-05 10:42:56 +00:00
parent 7e39893aac
commit cb37c25b14
4 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ export const Divider = forwardRef<HTMLDivElement, DividerProps>(
{
orientation = 'horizontal',
size = 'default',
dividerColor = 'var(--affine-border-color)',
dividerColor,
style,
className,
...otherProps
@@ -36,7 +36,7 @@ export const Divider = forwardRef<HTMLDivElement, DividerProps>(
className
)}
style={{
backgroundColor: dividerColor ? dividerColor : undefined,
borderColor: dividerColor ? dividerColor : undefined,
...style,
}}
{...otherProps}