From f62f41759f4a2bcb49e7c8c4737ee8170d1d4154 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Fri, 22 Oct 2021 15:08:46 -0300 Subject: [PATCH] Fix missing bottom padding grow --- src/App.tsx | 28 +++++++++++++--------------- src/StandardFrame.tsx | 2 +- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index e11a960..9c7c1fe 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -53,21 +53,19 @@ const App = () => { -
- - <Route path="/block/:blockNumberOrHash" exact> - <Block /> - </Route> - <Route path="/block/:blockNumber/txs" exact> - <BlockTransactions /> - </Route> - <Route path="/tx/:txhash"> - <Transaction /> - </Route> - <Route path="/address/:addressOrName/:direction?"> - <AddressTransactions /> - </Route> - </div> + <Title /> + <Route path="/block/:blockNumberOrHash" exact> + <Block /> + </Route> + <Route path="/block/:blockNumber/txs" exact> + <BlockTransactions /> + </Route> + <Route path="/tx/:txhash"> + <Transaction /> + </Route> + <Route path="/address/:addressOrName/:direction?"> + <AddressTransactions /> + </Route> </AppConfigContext.Provider> </Route> </Switch> diff --git a/src/StandardFrame.tsx b/src/StandardFrame.tsx index 65fc076..10b5fe8 100644 --- a/src/StandardFrame.tsx +++ b/src/StandardFrame.tsx @@ -1,7 +1,7 @@ import React from "react"; const StandardFrame: React.FC = ({ children }) => ( - <div className="bg-gray-100 px-9 pt-3 pb-12">{children}</div> + <div className="flex-grow bg-gray-100 px-9 pt-3 pb-12">{children}</div> ); export default StandardFrame;