📱 fix(Root.tsx): Update styling to use h-dvh instead of h-screen (#1608)

This commit is contained in:
Danny Avila 2024-01-21 19:41:52 -05:00 committed by GitHub
parent 42de461a83
commit a0dabcc855
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 15 deletions

View file

@ -112,7 +112,7 @@
"postcss": "^8.4.31", "postcss": "^8.4.31",
"postcss-loader": "^7.1.0", "postcss-loader": "^7.1.0",
"postcss-preset-env": "^8.2.0", "postcss-preset-env": "^8.2.0",
"tailwindcss": "^3.2.6", "tailwindcss": "^3.4.1",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "^5.0.4", "typescript": "^5.0.4",
"vite": "^5.0.7", "vite": "^5.0.7",

View file

@ -59,7 +59,7 @@ export default function Root() {
return ( return (
<> <>
<div className="flex h-screen"> <div className="flex h-dvh">
<Nav navVisible={navVisible} setNavVisible={setNavVisible} /> <Nav navVisible={navVisible} setNavVisible={setNavVisible} />
<div className="relative z-0 flex h-full w-full overflow-hidden"> <div className="relative z-0 flex h-full w-full overflow-hidden">
<div className="relative flex h-full max-w-full flex-1 flex-col overflow-hidden"> <div className="relative flex h-full max-w-full flex-1 flex-col overflow-hidden">

26
package-lock.json generated
View file

@ -945,7 +945,7 @@
"postcss": "^8.4.31", "postcss": "^8.4.31",
"postcss-loader": "^7.1.0", "postcss-loader": "^7.1.0",
"postcss-preset-env": "^8.2.0", "postcss-preset-env": "^8.2.0",
"tailwindcss": "^3.2.6", "tailwindcss": "^3.4.1",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "^5.0.4", "typescript": "^5.0.4",
"vite": "^5.0.7", "vite": "^5.0.7",
@ -14064,9 +14064,9 @@
"integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw=="
}, },
"node_modules/follow-redirects": { "node_modules/follow-redirects": {
"version": "1.15.2", "version": "1.15.5",
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz",
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==",
"funding": [ "funding": [
{ {
"type": "individual", "type": "individual",
@ -24593,19 +24593,19 @@
} }
}, },
"node_modules/tailwindcss": { "node_modules/tailwindcss": {
"version": "3.3.3", "version": "3.4.1",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.1.tgz",
"integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==", "integrity": "sha512-qAYmXRfk3ENzuPBakNK0SRrUDipP8NQnEY6772uDhflcQz5EhRdD7JNZxyrFHVQNCwULPBn6FNPp9brpO7ctcA==",
"dependencies": { "dependencies": {
"@alloc/quick-lru": "^5.2.0", "@alloc/quick-lru": "^5.2.0",
"arg": "^5.0.2", "arg": "^5.0.2",
"chokidar": "^3.5.3", "chokidar": "^3.5.3",
"didyoumean": "^1.2.2", "didyoumean": "^1.2.2",
"dlv": "^1.1.3", "dlv": "^1.1.3",
"fast-glob": "^3.2.12", "fast-glob": "^3.3.0",
"glob-parent": "^6.0.2", "glob-parent": "^6.0.2",
"is-glob": "^4.0.3", "is-glob": "^4.0.3",
"jiti": "^1.18.2", "jiti": "^1.19.1",
"lilconfig": "^2.1.0", "lilconfig": "^2.1.0",
"micromatch": "^4.0.5", "micromatch": "^4.0.5",
"normalize-path": "^3.0.0", "normalize-path": "^3.0.0",
@ -25789,9 +25789,9 @@
} }
}, },
"node_modules/vite": { "node_modules/vite": {
"version": "5.0.7", "version": "5.0.12",
"resolved": "https://registry.npmjs.org/vite/-/vite-5.0.7.tgz", "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.12.tgz",
"integrity": "sha512-B4T4rJCDPihrQo2B+h1MbeGL/k/GMAHzhQ8S0LjQ142s6/+l3hHTT095ORvsshj4QCkoWu3Xtmob5mazvakaOw==", "integrity": "sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"esbuild": "^0.19.3", "esbuild": "^0.19.3",
@ -26665,7 +26665,7 @@
}, },
"packages/data-provider": { "packages/data-provider": {
"name": "librechat-data-provider", "name": "librechat-data-provider",
"version": "0.3.4", "version": "0.3.8",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"axios": "^1.3.4", "axios": "^1.3.4",