Skip to content

Commit

Permalink
chore: update tailwindcss (#1061)
Browse files Browse the repository at this point in the history
Update TailwindCSS to v3.4 and refactor some arbitrary values.
  • Loading branch information
grzegorzpokorski authored Dec 20, 2023
1 parent d2af3cf commit becbe47
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"prettier": "3.1.1",
"prettier-plugin-tailwindcss": "0.5.9",
"schema-dts": "1.1.2",
"tailwindcss": "3.3.6",
"tailwindcss": "3.4.0",
"typescript": "5.3.3",
"wonka": "6.3.4"
},
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/app/checkout/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default function CheckoutPage({
}

return (
<div className="min-h-[100dvh] bg-white">
<section className="mx-auto flex min-h-[100dvh] max-w-7xl flex-col p-8">
<div className="min-h-dvh bg-white">
<section className="mx-auto flex min-h-dvh max-w-7xl flex-col p-8">
<div className="flex items-center font-bold">
<a aria-label="homepage" href="/">
ACME
Expand Down
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export default function RootLayout(props: { children: ReactNode }) {
const { children } = props;

return (
<html lang="en" className="min-h-[100dvh]">
<body className={`${inter.className} min-h-[100dvh]`}>
<html lang="en" className="min-h-dvh">
<body className={`${inter.className} min-h-dvh`}>
{children}
<DraftModeNotification />
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/nav/components/MobileMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const MobileMenu = ({ children }: Props) => {
<OpenButton onClick={openMenu} aria-controls="mobile-menu" />
<Transition show={isOpen}>
<Dialog onClose={closeMenu}>
<Dialog.Panel className="fixed inset-0 z-20 flex h-[100dvh] w-screen flex-col overflow-y-scroll">
<Dialog.Panel className="fixed inset-0 z-20 flex h-dvh w-screen flex-col overflow-y-scroll">
<Transition.Child
className="sticky top-0 z-10 flex h-16 shrink-0 bg-neutral-100/50 px-3 backdrop-blur-md sm:px-8"
enter="motion-safe:transition-all motion-safe:duration-150"
Expand Down

0 comments on commit becbe47

Please sign in to comment.