Fix missing bottom padding grow

This commit is contained in:
Willian Mitsuda 2021-10-22 15:08:46 -03:00
parent a6109754b4
commit f62f41759f
2 changed files with 14 additions and 16 deletions

View File

@ -53,21 +53,19 @@ const App = () => {
</Route>
<Route>
<AppConfigContext.Provider value={appConfig}>
<div className="mb-auto">
<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>
</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>

View File

@ -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;