Skip to content

Commit

Permalink
Merge pull request #64 from tonkeeper/feature/pro-dashboard
Browse files Browse the repository at this point in the history
fix: desktop modal border radius
  • Loading branch information
KuznetsovNikita authored Apr 1, 2024
2 parents 340aaeb + 51b63d2 commit 0a8bfd1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions packages/uikit/src/components/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,10 @@ const Content = styled.div<{ standalone: boolean }>`
${p =>
p.theme.displayType === 'full-width' &&
css`
border-bottom-right-radius: ${p.theme.cornerMedium};
border-bottom-left-radius: ${p.theme.cornerMedium};
border-top-right-radius: ${props => props.theme.cornerSmall};
border-top-left-radius: ${props => props.theme.cornerSmall};
border-bottom-right-radius: ${p.theme.cornerSmall};
border-bottom-left-radius: ${p.theme.cornerSmall};
max-height: calc(100% - 32px);
overflow: auto;
padding-top: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const DesktopPurchases = () => {
return (
<DesktopViewPageLayout ref={scrollRef}>
<DesktopViewHeader borderBottom={!closeTop}>
{t('page_header_purchases')}
<Label2>{t('page_header_purchases')}</Label2>
</DesktopViewHeader>
<NFTPageBody>{nfts && <NftsListStyled nfts={nfts} />}</NFTPageBody>
</DesktopViewPageLayout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export const DesktopWalletSettingsPage = () => {

return (
<DesktopViewPageLayout>
<DesktopViewHeader borderBottom>{t('settings_title')}</DesktopViewHeader>
<DesktopViewHeader borderBottom>
<Label2>{t('settings_title')}</Label2>
</DesktopViewHeader>
<SettingsListBlock>
<SettingsListItem onClick={onRenameOpen}>
<WalletEmoji containerSize="16px" emojiSize="16px" emoji={wallet.emoji} />
Expand Down
6 changes: 3 additions & 3 deletions packages/uikit/src/styles/proTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export const proTheme: DefaultTheme = {
backgroundContent: '#17171A',
backgroundContentTint: '#222224',
backgroundContentAttention: '#2F2F33',
backgroundOverlayStrong: 'rgb(15 15 15 / 72%)',
backgroundOverlayLight: 'rgb(15 15 15 / 48%)',
backgroundOverlayExtraLight: 'rgb(15 15 15 / 24%)',
backgroundOverlayStrong: 'rgba(20, 20, 20, 0.72)',
backgroundOverlayLight: 'rgba(20, 20, 20, 0.48)',
backgroundOverlayExtraLight: 'rgba(20, 20, 20, 0.24)',
backgroundHighlighted: 'rgb(255 255 255 / 4%)',

iconPrimary: '#EBEBEB',
Expand Down

0 comments on commit 0a8bfd1

Please sign in to comment.