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,7 +53,6 @@ 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 />
@ -67,7 +66,6 @@ const App = () => {
<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;