Merge pull request #86 from aaronpo97/dev

Fixed issue with breweries/map page height
This commit is contained in:
Aaron Po
2024-06-20 22:17:34 -04:00
committed by GitHub
3 changed files with 70 additions and 7968 deletions

8032
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -35,7 +35,7 @@
"dotenv": "^16.3.1", "dotenv": "^16.3.1",
"jsonwebtoken": "^9.0.1", "jsonwebtoken": "^9.0.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mapbox-gl": "^2.15.0", "mapbox-gl": "^3.4.0",
"multer": "^1.4.5-lts.1", "multer": "^1.4.5-lts.1",
"next": "^14.1.1", "next": "^14.1.1",
"next-cloudinary": "^5.10.0", "next-cloudinary": "^5.10.0",
@@ -51,7 +51,7 @@
"react-hot-toast": "^2.4.1", "react-hot-toast": "^2.4.1",
"react-icons": "^4.10.1", "react-icons": "^4.10.1",
"react-intersection-observer": "^9.5.2", "react-intersection-observer": "^9.5.2",
"react-map-gl": "^7.1.2", "react-map-gl": "^7.1.7",
"react-responsive-carousel": "^3.2.23", "react-responsive-carousel": "^3.2.23",
"swr": "^2.2.0", "swr": "^2.2.0",
"theme-change": "^2.5.0", "theme-change": "^2.5.0",

View File

@@ -83,7 +83,7 @@ const BreweryMapPage: NextPage<BreweryMapPageProps> = ({ token }) => {
content="Find breweries near you and around the world." content="Find breweries near you and around the world."
/> />
</Head> </Head>
<div className="h-full"> <div className="h-dvh">
<Map <Map
// center the map on North America // center the map on North America
initialViewState={{ zoom: 3, latitude: 48.3544, longitude: -99.9981 }} initialViewState={{ zoom: 3, latitude: 48.3544, longitude: -99.9981 }}