From 5cb259bd1baea606b26343f6f4712eaef8f64630 Mon Sep 17 00:00:00 2001 From: Sergey Zhuravlev Date: Wed, 27 Nov 2024 19:14:28 +0300 Subject: [PATCH] fix: small ux fixes (#2744) --- src/renderer/app/index.css | 4 ++- src/renderer/entities/price/ui/TokenPrice.tsx | 2 +- .../shared/assets/images/misc/logo-title.svg | 26 +++++-------------- 3 files changed, 11 insertions(+), 21 deletions(-) diff --git a/src/renderer/app/index.css b/src/renderer/app/index.css index 8cf0096728..377b2b07c8 100644 --- a/src/renderer/app/index.css +++ b/src/renderer/app/index.css @@ -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; } diff --git a/src/renderer/entities/price/ui/TokenPrice.tsx b/src/renderer/entities/price/ui/TokenPrice.tsx index 6cd8874d4c..d81e5908d1 100644 --- a/src/renderer/entities/price/ui/TokenPrice.tsx +++ b/src/renderer/entities/price/ui/TokenPrice.tsx @@ -55,7 +55,7 @@ export const TokenPrice = ({ assetId, className, wrapperClassName }: Props) => {
- {Boolean(price.change) && ({changeToShow}%)} + {Boolean(price.change) && {changeToShow}%}
); }; diff --git a/src/renderer/shared/assets/images/misc/logo-title.svg b/src/renderer/shared/assets/images/misc/logo-title.svg index 9a7f1a4860..6c85054735 100644 --- a/src/renderer/shared/assets/images/misc/logo-title.svg +++ b/src/renderer/shared/assets/images/misc/logo-title.svg @@ -1,20 +1,8 @@ - - - - - - - - - - - - - - - - - - - + + + +