Fix missing bottom padding grow
This commit is contained in:
parent
a6109754b4
commit
f62f41759f
28
src/App.tsx
28
src/App.tsx
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue