Skip to content

Commit

Permalink
Merge pull request #3959 from Koniverse/koni/dev/issue-3958
Browse files Browse the repository at this point in the history
[Issue-3958] Extension - Improve search token (round 1)
  • Loading branch information
saltict authored Jan 16, 2025
2 parents 153b100 + 223d76d commit 04f64bc
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

1 comment on commit 04f64bc

@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.