From 0c806f7fb988e532e650b4d04c9fd6bd789acc36 Mon Sep 17 00:00:00 2001 From: caturbgs Date: Thu, 16 Dec 2021 16:50:59 +0700 Subject: [PATCH] feat: responsive saldo layout --- src/pages/Profile/Profile.js | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js index f4f366a..27ec245 100644 --- a/src/pages/Profile/Profile.js +++ b/src/pages/Profile/Profile.js @@ -50,13 +50,23 @@ export const Profile = observer(() => { }, ] + const styleSaldoTitle = store.ui.mediaQuery.isDesktop ? { + display: "flex", + justifyContent: "center" + } : {fontSize: "0.75rem"}; + const styleSaldoContent = store.ui.mediaQuery.isDesktop ? { + fontSize: '1.25rem', + display: "flex", + justifyContent: "center" + } : null; + return (
Profile - + Name @@ -90,11 +100,15 @@ export const Profile = observer(() => { - -
- Saldo - {store.authentication.profileData?.wallet} -
+ + + + Saldo + + + {store.authentication.profileData?.wallet} + +