From 3ead69637380d76a521b26885f6db7f55e8f49d3 Mon Sep 17 00:00:00 2001 From: Nikolai Kryshnev Date: Fri, 29 Nov 2024 02:20:50 +0300 Subject: [PATCH] style: Update button styles --- src/components/GoBack.tsx | 1 + src/pages/LandingPage/TransactionsPreview.tsx | 2 +- src/pages/LandingPage/UserTransactionsPreview.tsx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/GoBack.tsx b/src/components/GoBack.tsx index 6eb528477..865a89b3a 100644 --- a/src/components/GoBack.tsx +++ b/src/components/GoBack.tsx @@ -14,6 +14,7 @@ function BackButton(handleClick: () => void) { p: 0, "&:hover": { background: "transparent", + opacity: "0.8", }, }} startIcon={} diff --git a/src/pages/LandingPage/TransactionsPreview.tsx b/src/pages/LandingPage/TransactionsPreview.tsx index ec5c36efb..92b06ab89 100644 --- a/src/pages/LandingPage/TransactionsPreview.tsx +++ b/src/pages/LandingPage/TransactionsPreview.tsx @@ -46,7 +46,7 @@ export default function TransactionsPreview() { component={RRD.Link} to={augmentTo("/transactions")} variant="primary" - sx={{margin: "0 auto", mt: 6}} + sx={{margin: "0 auto", mt: 6, "&:hover": {opacity: "0.8"}}} > View all Transactions diff --git a/src/pages/LandingPage/UserTransactionsPreview.tsx b/src/pages/LandingPage/UserTransactionsPreview.tsx index 8a37a7c30..bf569af51 100644 --- a/src/pages/LandingPage/UserTransactionsPreview.tsx +++ b/src/pages/LandingPage/UserTransactionsPreview.tsx @@ -30,7 +30,7 @@ export default function UserTransactionsPreview() { component={RRD.Link} to={augmentTo("/transactions")} variant="primary" - sx={{margin: "0 auto", mt: 3}} + sx={{margin: "0 auto", mt: 3, "&:hover": {opacity: "0.8"}}} > View all Transactions