Skip to content

Commit

Permalink
fix: small ux fixes (#2744)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthecat authored Nov 27, 2024
1 parent f11415e commit 5cb259b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 21 deletions.
4 changes: 3 additions & 1 deletion src/renderer/app/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ ul:focus-visible {

.logo-background {
transform: scaleY(-1);
background-image: url('../shared/assets/images/misc/bg.webp');
/* with color fallback */
background: #501acb url('../shared/assets/images/misc/bg.webp');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/entities/price/ui/TokenPrice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const TokenPrice = ({ assetId, className, wrapperClassName }: Props) => {
<div className={cnTw('flex gap-1', wrapperClassName)}>
<FiatBalance amount={`${balanceValue}${suffix}`} className={className} />

{Boolean(price.change) && <FootnoteText className={changeStyle}>({changeToShow}%)</FootnoteText>}
{Boolean(price.change) && <FootnoteText className={changeStyle}>{changeToShow}%</FootnoteText>}
</div>
);
};
26 changes: 7 additions & 19 deletions src/renderer/shared/assets/images/misc/logo-title.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5cb259b

Please sign in to comment.