diff --git a/http-client/src/components/account.rs b/http-client/src/components/account.rs index d913797..8d66bb7 100644 --- a/http-client/src/components/account.rs +++ b/http-client/src/components/account.rs @@ -159,9 +159,9 @@ impl Component for Account { - - - + + + diff --git a/http-client/styles.css b/http-client/styles.css index c8c0214..6487a2b 100644 --- a/http-client/styles.css +++ b/http-client/styles.css @@ -48,6 +48,21 @@ html, body { flex-direction: column; } +.account__deposit { + grid-column: 1; + grid-row: 2; +} + +.account__withdraw { + grid-column: 2; + grid-row: 2; +} + +.account__transfer { + grid-column: 3; + grid-row: 2; +} + .account__button { color: black; border-radius: 0; @@ -117,12 +132,7 @@ html, body { @media (max-width: 605px) { .account__grid { - display: grid; - grid-template-columns: 1fr; - } - - .account__accounts { - grid-column: 1; - grid-row: 2; + display: flex; + flex-direction: column; } }