Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TW-760: [epic] NFT update #934

Merged
merged 97 commits into from
Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
af8ba2b
TW-826: Collectibles re-design
alex-tsx Jun 23, 2023
8bc0474
TW-828: Collectibles grid layout
alex-tsx Jun 24, 2023
3430d15
TW-828: Collectibles grid layout. + Scroll tabsbar into view
alex-tsx Jun 26, 2023
65183c2
TW-828: Collectibles grid layout. ++ Images
alex-tsx Jun 26, 2023
079102d
TW-864: Collectibles hover effect
alex-tsx Jun 26, 2023
8898d8d
TW-828: Collectibles grid layout. Refactor
alex-tsx Jun 26, 2023
a7e1dca
Merge branch 'development' into TW-828-collectibles-grid
alex-tsx Jun 26, 2023
91b219a
TW-828: Collectibles grid layout. Refactor
alex-tsx Jun 29, 2023
fd976af
TW-830: Collectibles Manage dropdown. + Detailed grid
alex-tsx Jun 29, 2023
b47a127
TW-830: Collectibles Manage dropdown. + Detailes toggle
alex-tsx Jul 3, 2023
6672f10
TW-830: Collectibles Manage dropdown. + Floor prices
alex-tsx Jul 3, 2023
531ab18
Merge branch 'development' into TW-830-collectibles-manage-dropdown
alex-tsx Jul 4, 2023
c19133b
Merge branch 'development' into TW-828-collectibles-grid
alex-tsx Jul 4, 2023
1583a18
TW-828: Collectibles grid layout. Fix after QA
alex-tsx Jul 4, 2023
3c5b1e4
Merge branch 'TW-828-collectibles-grid' into TW-830-collectibles-mana…
alex-tsx Jul 4, 2023
0757ded
TW-830: Collectibles Manage dropdown. Fix floor price currency
alex-tsx Jul 4, 2023
76f3d2f
TW-830: Collectibles Manage dropdown. Refactor
alex-tsx Jul 5, 2023
e14d147
TW-830: Collectibles Manage dropdown. Refactor
alex-tsx Jul 5, 2023
ea9ab54
TW-830: Collectibles Manage dropdown. Refactor
alex-tsx Jul 5, 2023
b4b43fb
Merge branch 'development' into TW-830-collectibles-manage-dropdown
alex-tsx Jul 5, 2023
76a3a5a
add main info for nft details screen
Boltman92 Jul 6, 2023
b891a6a
fix creators and galleries name
Boltman92 Jul 6, 2023
b9bb096
fix merge conflicts
Boltman92 Jul 6, 2023
ef7d2ec
fix comments after review
Boltman92 Jul 6, 2023
dd12f29
delete useless code
Boltman92 Jul 6, 2023
5d6a994
TW-830: Collectibles Manage dropdown. Fix QA. Loading details by slugs
alex-tsx Jul 6, 2023
be31160
TW-830: Collectibles Manage dropdown. Fix QA. By design
alex-tsx Jul 6, 2023
de83dd4
TW-830: Collectibles Manage dropdown. Fix QA. Scroll to the tabs bar
alex-tsx Jul 6, 2023
119bff1
TW-830: Collectibles Manage dropdown. Fix QA. Refactor
alex-tsx Jul 6, 2023
00a02a3
fix after review: add dependencies for hook, update tailwind config
Boltman92 Jul 7, 2023
4808f81
fix margin
Boltman92 Jul 7, 2023
4b72ec6
Merge branch 'development' into TW-830-collectibles-manage-dropdown
alex-tsx Jul 10, 2023
9c7b2f7
TW-830: Collectibles Manage dropdown. Fix QA. 2 decimals for unletter…
alex-tsx Jul 10, 2023
5c0f445
TW-830: Collectibles Manage dropdown. Refactor
alex-tsx Jul 10, 2023
e15b61c
Merge branch 'development' into tw-832/nft-main-info
alex-tsx Jul 11, 2023
5a8e0ea
TW-832: NFT page. Main Info. Fix QA
alex-tsx Jul 11, 2023
a48227f
Merge branch 'TW-830-collectibles-manage-dropdown' into tw-832/nft-ma…
alex-tsx Jul 11, 2023
66a2dd3
TW-832: NFT page. Main Info. + 'Send' button
alex-tsx Jul 12, 2023
64aacd4
Merge branch 'development' into tw-832/nft-main-info
alex-tsx Jul 12, 2023
f9890fe
TW-832: NFT page. Main info. Refactor
alex-tsx Jul 12, 2023
70d32fc
TW-832: NFT page. Main info. Refactor
alex-tsx Jul 12, 2023
2ef6114
TW-760: [epic] NFT update
alex-tsx Jul 12, 2023
33ab2ce
TW-826: NFT update. Collectibles (#937)
alex-tsx Jul 12, 2023
f58e52b
Merge branch 'TW-760-epic-nft-update' into TW-832-nft-page-update-mai…
alex-tsx Jul 12, 2023
2851121
TW-832: NFT page. Main info. Refactor
alex-tsx Jul 12, 2023
3dc8e42
TW-834: NFT page. 'Sell' button
alex-tsx Jul 12, 2023
8813cfb
TW-838 Finihes adult nft
herkoss Jul 13, 2023
4651c0a
TW-838 Fixed linter errors
herkoss Jul 13, 2023
8f0fa21
TW-838 Fixed linter errors
herkoss Jul 13, 2023
3b7eba0
TW-838 Fixed comments
herkoss Jul 13, 2023
085cf28
TW-838 Fixed linter errors
herkoss Jul 13, 2023
38518dc
TW-834: NFT page. 'Sell' button. + Tx
alex-tsx Jul 13, 2023
15a0065
TW-834: NFT page. 'Sell' button. Refactor
alex-tsx Jul 14, 2023
ffc9dd1
TW-834: NFT page. Main info. 'Sell' button. + Syncing details with in…
alex-tsx Jul 14, 2023
7ec1efa
TW-830 Fixed comments
herkoss Jul 14, 2023
967ad53
TW-832: NFT page re-design. Main info (#931)
alex-tsx Jul 17, 2023
9a017d0
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Jul 17, 2023
87681b6
Merge branch 'TW-760-epic-nft-update' into TW-834-nft-page-sell-btn
alex-tsx Jul 17, 2023
91b8565
TW-834: NFT page. Main info. 'Sell' button. Taking second best offer,…
alex-tsx Jul 17, 2023
32fbd27
TW-834: NFT page. Main info. 'Sell' button. Fix displayed offer
alex-tsx Jul 18, 2023
ce1f64b
TW-834: NFT page. 'Sell' button. + Operation status section
alex-tsx Jul 18, 2023
fc0ccf4
TW-838 Fixed comments
herkoss Jul 18, 2023
3bea26a
Merge branch 'TW-760-epic-nft-update' of github.com:madfish-solutions…
herkoss Jul 18, 2023
0ea5f45
TW-834: NFT page. 'Sell' button. + Operation error section
alex-tsx Jul 18, 2023
72522cf
TW-838 Fixed comments
herkoss Jul 18, 2023
bb42c2a
TW-838 Fixed comments
herkoss Jul 18, 2023
957f38a
TW-834: NFT page. 'Sell' button. Fix QA. Highest order
alex-tsx Jul 19, 2023
0094155
TW-838 Fixed refresh interval for details
herkoss Jul 19, 2023
fb72d35
Merge pull request #942 from madfish-solutions/TW-834-nft-page-sell-btn
lourenc Jul 20, 2023
732c6f8
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Jul 20, 2023
0e7ad73
TW-836: NFT page. Attributes & Properties (#946)
alex-tsx Jul 25, 2023
b6e8a76
Merge branch 'TW-760-epic-nft-update' of github.com:madfish-solutions…
herkoss Jul 25, 2023
3ff958f
TW-838 Fixed console
herkoss Jul 25, 2023
0ef8909
Merge pull request #938 from madfish-solutions/TW-838-integrate-a-fil…
herkoss Jul 25, 2023
60bffa4
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Jul 26, 2023
9aa62b2
TW-913: NFT update. Tokens Manage dropdown (#949)
alex-tsx Jul 27, 2023
712c6a3
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Jul 27, 2023
eb20f74
TW-838 Fixed adult image on nft page
herkoss Jul 31, 2023
9a77c9f
TW-838 Deleted console.log
herkoss Jul 31, 2023
202a556
Merge pull request #954 from madfish-solutions/TW-838-integrate-a-fil…
herkoss Aug 1, 2023
0ca81ae
TW-842 Handling different NFT formats (#950)
lendihop Aug 3, 2023
ba2c0e1
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Aug 3, 2023
7f9d22d
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Aug 8, 2023
da3e443
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Aug 8, 2023
382c5f6
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Aug 8, 2023
e5236b4
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Aug 14, 2023
57f45ad
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Aug 21, 2023
c0193a9
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Aug 25, 2023
7cb9a8b
TW-760: Epic NFT update. Fix TS check
alex-tsx Aug 25, 2023
eccbcc0
TW-994: [QA Epic] NFT update (#956)
alex-tsx Sep 1, 2023
6895549
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Sep 1, 2023
702ec0b
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Sep 1, 2023
89166b1
TW-760: [epic] NFT update. Fix E2E
alex-tsx Sep 1, 2023
ee4b267
TW-760: [epic] NFT update. Refactor
alex-tsx Sep 1, 2023
4fa3e39
TW-760: [epic] NFT update. Refactor
alex-tsx Sep 3, 2023
afa3bb2
Merge branch 'development' into TW-760-epic-nft-update
alex-tsx Sep 4, 2023
aac47ab
TW-760: [epic] NFT update. Refactor
alex-tsx Sep 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion e2e/src/features/manage-tokens-collectibles.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Feature: Manage tokens + collectibles

Scenario: As a user, I'd like to add tokens and collectibles to my wallet [Positive]
Given I have imported an existing account
And I press Manage Button on the Assets page
And I press Manage Dropdown Button on the Assets page
And I press Manage Dropdown/Manage Button on the Assets page

And I am on the ManageAssetsTokens page
And I press Add Asset Button on the Manage Assets(Tokens) page
Expand Down
7 changes: 3 additions & 4 deletions e2e/src/page-objects/pages/token.page.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { HomeSelectors } from 'src/app/pages/Home/Home.selectors';
import { TokenPageSelectors } from 'src/app/pages/Home/Token-page.selectors';
import { TokenPageSelectors } from 'src/app/pages/Home/OtherComponents/TokenPage.selectors';

import { Page } from 'e2e/src/classes/page.class';
import { createPageElement, findElement } from 'e2e/src/utils/search.utils';
import { SHORT_TIMEOUT } from 'e2e/src/utils/timing.utils';

import { Page } from '../../classes/page.class';
import { createPageElement, findElement } from '../../utils/search.utils';

export class TokenPage extends Page {
pageName = createPageElement(TokenPageSelectors.pageName);
tokenName = createPageElement(TokenPageSelectors.pageName);
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@dicebear/avatars": "4.2.5",
"@dicebear/avatars-bottts-sprites": "4.2.5",
"@dicebear/avatars-jdenticon-sprites": "4.2.5",
"@google/model-viewer": "3.1.1",
"@jitsu/sdk-js": "madfish-solutions/jitsu-js#87c49de334f5747952f7beda573b95ceb5d86903",
"@ledgerhq/errors": "^6",
"@ledgerhq/hw-transport": "6.27.8",
Expand Down Expand Up @@ -177,6 +178,7 @@
"swr": "1.3.0",
"tailwindcss": "2.2.19",
"terser-webpack-plugin": "5.3.6",
"three": "^0.151.2",
"timers-browserify": "^2.0.12",
"tippy.js": "6.2.6",
"ts-action": "^11.0.0",
Expand Down
2 changes: 1 addition & 1 deletion public/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1855,7 +1855,7 @@
"message": "Es wurden keine passenden dApps gefunden"
},
"thousandFormat": {
"message": "$thousand$k",
"message": "$thousand$K",
"placeholders": {
"thousand": {
"content": "$1"
Expand Down
30 changes: 23 additions & 7 deletions public/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,9 @@
"send": {
"message": "Send"
},
"floorPrice": { "message": "Floor" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why inline?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because it's out of style

"sellFor": { "message": "Sell for" },
"noOffersYet": { "message": "No offers yet" },
"get": {
"message": "Get"
},
Expand Down Expand Up @@ -1689,12 +1692,9 @@
"activity": {
"message": "Activity"
},
"manage": {
"message": "Manage"
},
"manageTokens": {
"message": "Manage Tokens"
},
"manage": { "message": "Manage" },
"manageTokens": { "message": "Manage Tokens" },
"manageAssetsList": { "message": "Manage assets list" },
"noItemsFound": {
"message": "No items found"
},
Expand Down Expand Up @@ -2119,6 +2119,7 @@
"blockExplorer": {
"message": "Blockchain explorer"
},
"viewOnBlockExplorer": { "message": "View on block explorer" },
"specifyTokenId": {
"message": "Specify token ID"
},
Expand Down Expand Up @@ -2153,7 +2154,7 @@
"message": "No matching dApps were found"
},
"thousandFormat": {
"message": "$thousand$k",
"message": "$thousand$K",
"placeholders": {
"thousand": {
"content": "$1"
Expand Down Expand Up @@ -2362,6 +2363,8 @@
"message": "less",
"description": "Show less"
},
"showInfo": { "message": "Show info" },
"hideZeroBalance": { "message": "Hide 0 balance" },
"recentDestinations": {
"message": "Recent destinations"
},
Expand Down Expand Up @@ -3054,12 +3057,25 @@
"creditCard": {
"message": "credit card"
},
"creator": {
"message": "Creator:"
},
"creators": {
"message": "Creators:"
},
"subscribeToNewsletter": {
"message": "Subscribe to our Newsletter"
},
"keepLatestNews": {
"message": "Keep up with the latest news from Madfish"
},
"unknownError": {
"message": "Unknown error"
},
"cannotSellToYourself": { "message": "Cannot sell to yourself" },
"selectedAccountCannotSignTx": { "message": "Selected account cannot sign transactions" },
"attributes": { "message": "Attributes" },
"properties": { "message": "Properties" },
"viewAds": {
"message": "View Ads"
},
Expand Down
12 changes: 6 additions & 6 deletions public/_locales/en_GB/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1362,12 +1362,9 @@
"activity": {
"message": "Activity"
},
"manage": {
"message": "Manage"
},
"manageTokens": {
"message": "Manage Tokens"
},
"manage": { "message": "Manage" },
"manageTokens": { "message": "Manage Tokens" },
"manageAssetsList": { "message": "Manage assets list" },
"noAssetsFound": {
"message": "No assets found"
},
Expand Down Expand Up @@ -1788,6 +1785,9 @@
"keepLatestNews": {
"message": "Keep up with the latest news from Madfish"
},
"unknownError": {
"message": "Unknown error"
},
"viewAds": {
"message": "View Ads"
},
Expand Down
2 changes: 1 addition & 1 deletion public/_locales/pt/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1855,7 +1855,7 @@
"message": "Não foram encontrados dApps correspondentes"
},
"thousandFormat": {
"message": "$thousand$k",
"message": "$thousand$K",
"placeholders": {
"thousand": {
"content": "$1"
Expand Down
2 changes: 1 addition & 1 deletion public/_locales/tr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1855,7 +1855,7 @@
"message": "Eşleşen dApps bulunamadı"
},
"thousandFormat": {
"message": "$thousand$k",
"message": "$thousand$K",
"placeholders": {
"thousand": {
"content": "$1"
Expand Down
17 changes: 11 additions & 6 deletions public/_locales/uk/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1365,12 +1365,9 @@
"activity": {
"message": "Активність"
},
"manage": {
"message": "Керувати"
},
"manageAssets": {
"message": "Керувати Активами"
},
"manage": { "message": "Керувати" },
"manageTokens": { "message": "Керувати Токенами" },
"manageAssetsList": { "message": "Керувати Активами" },
"noAssetsFound": {
"message": "Активів не знайдено"
},
Expand Down Expand Up @@ -1731,6 +1728,7 @@
"blockExplorer": {
"message": "Експлорер блокчейна"
},
"viewOnBlockExplorer": { "message": "Відкрити в експлорері" },
"game": {
"message": "Гра"
},
Expand Down Expand Up @@ -1854,5 +1852,12 @@
"content": "$1"
}
}
},
"showInfo": { "message": "Деталі" },
"hideZeroBalance": { "message": "Сховати нульові баланси" },
"creator": { "message": "Автор:" },
"creators": { "message": "Автори:" },
"unknownError": {
"message": "Невідома помилка"
}
}
2 changes: 1 addition & 1 deletion src/app/ConfirmPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ const ConfirmDAppForm: FC = () => {
<div className="w-1/2 pr-2">
<FormSecondaryButton
type="button"
className="justify-center w-full"
className="w-full"
loading={declining}
onClick={handleDeclineClick}
testID={content.declineActionTestID}
Expand Down
7 changes: 6 additions & 1 deletion src/app/WithDataLoading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import React, { FC, useEffect } from 'react';
import { useDispatch } from 'react-redux';

import { useAdvertisingLoading } from 'app/hooks/use-advertising.hook';
import { useCollectiblesDetailsLoading } from 'app/hooks/use-collectibles-details-loading';
import { useTokensApyLoading } from 'app/hooks/use-load-tokens-apy.hook';
import { useLongRefreshLoading } from 'app/hooks/use-long-refresh-loading.hook';
import { useMetadataLoading } from 'app/hooks/use-metadata-loading';
Expand All @@ -11,10 +12,14 @@ import { useTokensLoading } from 'app/hooks/use-tokens-loading';
import { loadSwapDexesAction, loadSwapTokensAction } from 'app/store/swap/actions';
import { useBalancesLoading } from 'lib/temple/front/load-balances';

import { useMetadataRefresh } from './hooks/use-metadata-refresh';

export const WithDataLoading: FC<PropsWithChildren> = ({ children }) => {
useMetadataLoading();
useTokensLoading();
useMetadataLoading();
useMetadataRefresh();
useBalancesLoading();
useCollectiblesDetailsLoading();

useLongRefreshLoading();
useAdvertisingLoading();
Expand Down
13 changes: 0 additions & 13 deletions src/app/atoms/ActivitySpinner.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/app/atoms/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Banner: FC<Props> = ({ title, description, enableButton, disableBut
<div className="flex flex-wrap gap-x-4 gap-y-2">
<FormSecondaryButton
small
className="flex-1 h-2.25 rounded-md"
className="flex-1 h-9 rounded-md"
onClick={disableButton.onClick}
testID={disableButton.testID}
testIDProperties={disableButton.testIDProperties}
Expand All @@ -44,7 +44,7 @@ export const Banner: FC<Props> = ({ title, description, enableButton, disableBut

<FormSubmitButton
small
className="flex-1 h-2.25 rounded-md"
className="flex-1 h-9 rounded-md"
onClick={enableButton.onClick}
testID={enableButton.testID}
testIDProperties={enableButton.testIDProperties}
Expand Down
32 changes: 16 additions & 16 deletions src/app/atoms/Checkbox.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
import React, { forwardRef, InputHTMLAttributes, useCallback, useEffect, useMemo, useState } from 'react';

import classNames from 'clsx';
import clsx from 'clsx';

import { ReactComponent as OkIcon } from 'app/icons/ok.svg';
import { TestIDProps, setTestID, useAnalytics, AnalyticsEventCategory } from 'lib/analytics';
import { blurHandler, checkedHandler, focusHandler } from 'lib/ui/inputHandlers';

export type CheckboxProps = TestIDProps &
Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'checked' | 'className' | 'onFocus' | 'onBlur' | 'onClick'> & {
containerClassName?: string;
errored?: boolean;
onChange?: (checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void;
};
export interface CheckboxProps
extends TestIDProps,
Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'checked' | 'className' | 'onFocus' | 'onBlur' | 'onClick'> {
overrideClassNames?: string;
errored?: boolean;
onChange?: (checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void;
}

const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
(
{
containerClassName,
overrideClassNames,
errored = false,
className,
checked,
Expand Down Expand Up @@ -63,9 +64,9 @@ const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(

const classNameMemo = useMemo(
() =>
classNames(
'flex justify-center items-center h-6 w-6 flex-shrink-0',
'text-white border rounded-md overflow-hidden',
clsx(
'flex justify-center items-center flex-shrink-0',
'text-white border overflow-hidden',
'transition ease-in-out duration-200 disable-outline-for-click',
localChecked ? 'bg-primary-orange' : 'bg-black-40',
localFocused && 'shadow-outline',
Expand All @@ -81,17 +82,17 @@ const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
return 'border-gray-400';
}
})(),
containerClassName
overrideClassNames || 'h-6 w-6 rounded-md'
),
[localChecked, localFocused, errored, containerClassName]
[localChecked, localFocused, errored, overrideClassNames]
);

return (
<div className={classNameMemo}>
<input
ref={ref}
type="checkbox"
className={classNames('sr-only', className)}
className={clsx('sr-only', className)}
checked={localChecked}
onChange={handleChange}
onFocus={handleFocus}
Expand All @@ -101,8 +102,7 @@ const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
/>

<OkIcon
className={classNames(localChecked ? 'block' : 'hidden', 'h-4 w-4 pointer-events-none stroke-current')}
style={{ strokeWidth: 2 }}
className={clsx('h-4/6 w-4/6 stroke-2 stroke-current pointer-events-none', localChecked ? 'block' : 'hidden')}
/>
</div>
);
Expand Down
6 changes: 3 additions & 3 deletions src/app/atoms/Divider.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React, { FC } from 'react';

import clsx from 'clsx';

interface DividerProps {
style?: React.CSSProperties;
className?: string;
Expand All @@ -8,12 +10,10 @@ interface DividerProps {
const Divider: FC<DividerProps> = ({ style, className }) => (
<div
style={{
width: '100%',
height: '1px',
backgroundColor: '#E2E8F0',
...style
}}
className={className}
className={clsx('w-full bg-gray-300', className)}
/>
);

Expand Down
2 changes: 1 addition & 1 deletion src/app/atoms/DonationBanner/DonationBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const DONATE_MAD_FISH_URL = 'https://donate.mad.fish';

export const DonationBanner: FC = () => (
<Anchor
className="flex flex-col items-center justify-center rounded h-7 bg-blue-150 max-w-100"
className="flex flex-col items-center justify-center rounded h-7 bg-blue-150 max-w-25"
href={DONATE_MAD_FISH_URL}
testID={DonationBannerSelectors.ukraineDonationBanner}
>
Expand Down
Loading
Loading