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>
<Route> <Route>
<AppConfigContext.Provider value={appConfig}> <AppConfigContext.Provider value={appConfig}>
<div className="mb-auto"> <Title />
<Title /> <Route path="/block/:blockNumberOrHash" exact>
<Route path="/block/:blockNumberOrHash" exact> <Block />
<Block /> </Route>
</Route> <Route path="/block/:blockNumber/txs" exact>
<Route path="/block/:blockNumber/txs" exact> <BlockTransactions />
<BlockTransactions /> </Route>
</Route> <Route path="/tx/:txhash">
<Route path="/tx/:txhash"> <Transaction />
<Transaction /> </Route>
</Route> <Route path="/address/:addressOrName/:direction?">
<Route path="/address/:addressOrName/:direction?"> <AddressTransactions />
<AddressTransactions /> </Route>
</Route>
</div>
</AppConfigContext.Provider> </AppConfigContext.Provider>
</Route> </Route>
</Switch> </Switch>

View File

@ -1,7 +1,7 @@
import React from "react"; import React from "react";
const StandardFrame: React.FC = ({ children }) => ( 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; export default StandardFrame;