Skip to content

Commit

Permalink
Fix excessive vertical padding in all pages (#9331)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Dec 10, 2024
1 parent d9a620c commit d520018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Common/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function Page(props: PageProps) {

let padding = "";
if (!props.noImplicitPadding) {
if (!props.hideBack || props.componentRight) padding = "py-3 md:p-6";
if (!props.hideBack || props.componentRight) padding = "py-3 md:px-6";
else padding = "px-6 py-5";
}

Expand Down

0 comments on commit d520018

Please sign in to comment.