Skip to content

Commit

Permalink
fix(dapp): padding and pino-pretty (#618)
Browse files Browse the repository at this point in the history
Signed-off-by: Urban Vidovič <[email protected]>
  • Loading branch information
pseudobun authored Apr 10, 2024
1 parent 3ff3c16 commit 254d15b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/dapp/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ const nextConfig = {
},

webpack: (config) => {
config.externals.push('pino-pretty');
config.module.rules.push({
test: /\.svg$/,
use: ['@svgr/webpack'],
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp/src/components/ConnectedProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const ConnectedProvider = ({ children }: ConnectedProviderProps) => {
return isConnected ? (
<>{children}</>
) : (
<div className="flex flex-col items-center justify-center px-6 sm:px-12 dark:bg-navy-blue-800 dark:text-navy-blue-400 py-12 rounded-3xl bg-white shadow-lg">
<div className="flex flex-col items-center h-full justify-center px-6 sm:px-12 dark:bg-navy-blue-800 dark:text-navy-blue-400 py-12 rounded-3xl bg-white shadow-lg">
<div className="flex flex-col">
<div className="flex w-full flex-col items-center justify-center">
<h3 className="text-h4 sm:text-h3 dark:text-navy-blue-50 text-center text-gray-900">
Expand Down

0 comments on commit 254d15b

Please sign in to comment.