Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dapp): padding and pino-pretty #618

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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