Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/koni/dev/issue-3958' into subwal…
Browse files Browse the repository at this point in the history
…let-dev
  • Loading branch information
saltict committed Jan 20, 2025
2 parents caf62c0 + 223d76d commit a4680ac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions packages/extension-koni-ui/src/Popup/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ function Component ({ className = '' }: Props): React.ReactElement<Props> {
onClickSearchIcon={onOpenGlobalSearchToken}
showFilterIcon
showNotificationIcon
showSearchIcon
>
<Outlet />
<GeneralTermModal onOk={onAfterConfirmTermModal} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ const Home = styled(Component)<Props>(({ theme: { token } }: Props) => ({
display: 'flex'
},

'.ant-sw-header-center-part.ant-sw-header-center-part': {
paddingRight: 0
},

'.notification-icon': {
position: 'relative',
display: 'flex'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,24 +360,18 @@ const SelectAccount = styled(Component)<Props>(({ theme }) => {
width: '100%',
flexDirection: 'row',
alignItems: 'center',
padding: `${token.paddingXS}px ${token.padding}px`,
paddingLeft: 0,
gap: 8,
padding: `${token.paddingXS}px`,
paddingLeft: token.marginXXS,
paddingRight: token.marginXS,
overflow: 'hidden',
gap: token.sizeXS,
cursor: 'pointer'
},

'.selected-account.is-no-all-account': {
marginLeft: token.marginXXS,

'.account-name ': {
maxWidth: 165
}
},

'.connect-icon': {
color: token.colorTextBase,
width: 40,
height: 40,
paddingRight: token.paddingXXS,
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
Expand Down

2 comments on commit a4680ac

@saltict
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saltict
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.