Skip to content

Commit 00ef21f

Browse files
authored
📱 fix(Root.tsx): Update styling to use h-dvh instead of h-screen (danny-avila#1608)
1 parent 723cdf6 commit 00ef21f

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

‎client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"postcss": "^8.4.31",
113113
"postcss-loader": "^7.1.0",
114114
"postcss-preset-env": "^8.2.0",
115-
"tailwindcss": "^3.2.6",
115+
"tailwindcss": "^3.4.1",
116116
"ts-jest": "^29.1.0",
117117
"typescript": "^5.0.4",
118118
"vite": "^5.0.7",

‎client/src/routes/Root.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function Root() {
5959

6060
return (
6161
<>
62-
<div className="flex h-screen">
62+
<div className="flex h-dvh">
6363
<Nav navVisible={navVisible} setNavVisible={setNavVisible} />
6464
<div className="relative z-0 flex h-full w-full overflow-hidden">
6565
<div className="relative flex h-full max-w-full flex-1 flex-col overflow-hidden">

‎package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)