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

@@ -243,7 +243,7 @@ export const RightPanel = ({
return ( return (
<> <>
<ResizableHandle /> {isOpen ? <ResizableHandle /> : null}
<ResizablePanel <ResizablePanel
id="1" id="1"
order={1} order={1}

View File

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

View File

@@ -45,8 +45,8 @@ export const iconSelectorButton = style({
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
width: 32, width: 30,
height: 32, height: 30,
flexShrink: 0, flexShrink: 0,
border: `1px solid ${cssVar('borderColor')}`, border: `1px solid ${cssVar('borderColor')}`,
background: cssVar('backgroundSecondaryColor'), background: cssVar('backgroundSecondaryColor'),

View File

@@ -157,7 +157,7 @@ export const EditDocPropertyMenuItems = ({
placeholder={t['unnamed']()} placeholder={t['unnamed']()}
onKeyDown={onKeyDown} onKeyDown={onKeyDown}
size="large" size="large"
style={{ borderRadius: 4 }} style={{ borderRadius: 4, height: 30 }}
/> />
)} )}
</div> </div>