From 52b5e42a1055a4458500b55a0be1868286e931af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Zi=C3=B3=C5=82ek?= Date: Sun, 3 Mar 2024 22:27:10 +0100 Subject: [PATCH] OCT-1404 Adjust History Loader to the design (#42) --- .../components/Earn/EarnHistory/EarnHistory.module.scss | 6 +++++- client/src/components/Earn/EarnHistory/EarnHistory.tsx | 4 +++- .../EarnHistoryItem/EarnHistoryItem.module.scss | 7 +++---- .../EarnHistoryList/EarnHistoryList.module.scss | 1 + client/src/styles/utils/_variables.scss | 1 + 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/client/src/components/Earn/EarnHistory/EarnHistory.module.scss b/client/src/components/Earn/EarnHistory/EarnHistory.module.scss index a11bf2ceab..3d6d260a79 100644 --- a/client/src/components/Earn/EarnHistory/EarnHistory.module.scss +++ b/client/src/components/Earn/EarnHistory/EarnHistory.module.scss @@ -11,8 +11,12 @@ } } +.skeleton { + padding: 0 $historyHorizontalPadding; +} + .title { - padding: 0 1.6rem; + padding: 0 $historyHorizontalPadding; } .childrenWrapper { diff --git a/client/src/components/Earn/EarnHistory/EarnHistory.tsx b/client/src/components/Earn/EarnHistory/EarnHistory.tsx index 95ebce0b07..2391ad3646 100644 --- a/client/src/components/Earn/EarnHistory/EarnHistory.tsx +++ b/client/src/components/Earn/EarnHistory/EarnHistory.tsx @@ -52,7 +52,9 @@ const EarnHistory: FC = ({ className }) => { titleClassName={styles.title} > {showLoader ? ( - +
+ +
) : (