Skip to content

Commit

Permalink
fix: fix popover text css
Browse files Browse the repository at this point in the history
  • Loading branch information
sahar-fehri committed Sep 18, 2024
1 parent 9fe85dd commit 5e720c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
8 changes: 3 additions & 5 deletions ui/components/app/wallet-overview/coin-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
} from '../../component-library';
import {
AlignItems,
BlockSize,
Display,
JustifyContent,
TextAlign,
Expand Down Expand Up @@ -251,6 +252,7 @@ export const CoinOverview = ({
flip
data-theme={theme === 'light' ? 'dark' : 'light'}
className="balance-popover__container"
width={BlockSize.Full}
padding={3}
onClickOutside={handleClick}
onPressEscKey={handleClick}
Expand All @@ -265,7 +267,6 @@ export const CoinOverview = ({
variant={TextVariant.bodySmBold}
textAlign={TextAlign.Left}
alignItems={AlignItems.flexStart}
className="balance-popover__text"
>
{t('yourBalanceIsAggregated')}
</Text>
Expand All @@ -278,10 +279,7 @@ export const CoinOverview = ({
/>
</Box>

<Text
variant={TextVariant.bodySm}
className="balance-popover__text"
>
<Text variant={TextVariant.bodySm}>
{
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Expected 0-1 arguments, but got 2.
Expand Down
7 changes: 0 additions & 7 deletions ui/components/app/wallet-overview/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,7 @@
}

.balance-popover {
&__text {
font-size: 12px;
line-height: 20px;
letter-spacing: 0.25px;
}

&__container {
width: 248px !important;
z-index: design-system.$modal-z-index;
}
}

0 comments on commit 5e720c6

Please sign in to comment.