Skip to content

Commit

Permalink
Introduce Custom Widths
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Oct 7, 2023
1 parent 587b391 commit ee7d1ad
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default async function ({

return (
<div className="w-full mt-4 lg:mt-10 px-6 py-8 pb-64">
<div className="w-full max-w-md mx-auto flex flex-col gap-8">
<div className="w-full max-w-md2 mx-auto flex flex-col gap-8">
<div className="text-center px-4">
<img
src="/frensday_2.svg"
Expand Down
4 changes: 2 additions & 2 deletions components/POAPModal/POAPModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export const POAPModal: FC<{
if (dismissed || !hasRendered) return;

return (
<div className="fixed bottom-0 inset-x-0 px-3 pb-4">
<div className="w-full max-w-md mx-auto">
<div className="fixed bottom-0 inset-x-0 px-2 pb-4">
<div className="w-full max-w-md3 mx-auto">
<div className="p-4 text-center relative">
<img
src="/creeper.svg"
Expand Down
2 changes: 1 addition & 1 deletion hooks/useIYKRef.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ export const useIYKRef = async (reference?: string) => {

const result: IYKRefResponse = await response.json();

// return DEBUG_VALUE;
// return DEBUG_VALUE as IYKRefResponse;
return result;
};
7 changes: 6 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ module.exports = {
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {},
extend: {
maxWidth: {
md2: '420px',
md3: '458px',
},
},
},
plugins: [],
};

0 comments on commit ee7d1ad

Please sign in to comment.