Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,11 @@ export function AnalyticsMobileLayout({
<section className="flex h-full flex-col items-center justify-center gap-2 bg-[#FFFF]">
<div
className={cn(
'relative h-[calc(100dvh_-_160px)] w-full flex-grow flex-col gap-3 overflow-y-scroll'
// 'sm:h-[calc(100dvh_-_120px)] md:h-[calc(100dvh_-_100px)]'
'relative h-[calc(100dvh_-_15vh)] w-full flex-grow flex-col gap-3 overflow-y-scroll',
'sm:h-[calc(100dvh_-_120px)] md:h-[calc(100dvh_-_100px)]'
)}
>
{/* <div className="flex w-full flex-grow flex-col overflow-y-scroll"> */}
<div className="fixed top-[56px] z-9 flex h-[8vh] w-full items-center bg-[#FFFF] px-4 sm:h-[6%] sm:px-6 md:h-[5%] md:px-8">
<FactorList currentState={currentSelectedState} />
<FilterComp
Expand Down Expand Up @@ -330,7 +331,7 @@ export function AnalyticsMobileLayout({
/>
)}

<div className="sticky bottom-0 flex h-[8vh] w-full flex-row justify-between gap-1 bg-baseIndigoSolid1 p-1 sm:p-2 md:p-3">
<div className="absolute bottom-0 flex h-[8vh] w-full flex-row justify-between gap-1 bg-baseIndigoSolid1 p-1 sm:p-2 md:p-3">
{buttons.map((button, index) =>
button.value === 'more' ? (
// Render Menu for 'More' button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export const MapComponent = ({
className={`relative w-full ${isMobile ? 'h-full' : 'h-[98%]'} ${isMobile ? 'pt-[68px]' : ''}`}
> */}
<div
className={`relative w-full ${isMobile ? 'h-full pt-[84px] sm:pt-[66px] md:pt-[50px]' : 'h-[95vh]'} sm:h-[85vh] md:h-[86vh]`}
className={`relative w-full ${isMobile ? 'h-full pt-[8dvh] sm:pt-[7dvh] md:pt-[6dvh]' : 'h-[95vh]'} sm:h-[85vh] md:h-[86vh]`}
>
{' '}
<MapChart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
}

.expandedOverlay {
bottom: 8vh;
// bottom: 8vh;
height: calc(100dvh - 63px - 8vh);
}

Expand Down