mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-07 22:10:21 +08:00
style: adjusted layout and styling for searchpopup component
This commit is contained in:
parent
aefb08965d
commit
cd625430b2
@ -32,7 +32,7 @@ const PopupContainer: React.FC<Props> = ({ resolve }) => {
|
|||||||
onCancel={onCancel}
|
onCancel={onCancel}
|
||||||
afterClose={onClose}
|
afterClose={onClose}
|
||||||
title={null}
|
title={null}
|
||||||
width="75vw"
|
width="920px"
|
||||||
transitionName="ant-move-down"
|
transitionName="ant-move-down"
|
||||||
styles={{
|
styles={{
|
||||||
content: { padding: 0, border: '1px solid var(--color-border)' },
|
content: { padding: 0, border: '1px solid var(--color-border)' },
|
||||||
|
|||||||
@ -119,7 +119,7 @@ const HeaderLeft = styled.div`
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 8px;
|
top: 12px;
|
||||||
left: 15px;
|
left: 15px;
|
||||||
`
|
`
|
||||||
|
|
||||||
@ -129,8 +129,8 @@ const MenuIcon = styled.div`
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 36px;
|
width: 33px;
|
||||||
height: 36px;
|
height: 33px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--color-background);
|
background-color: var(--color-background);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user