Skip to content

Commit

Permalink
Lint, Put max height for mapoption container
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Oct 4, 2023
1 parent c47ca57 commit 808bba8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/scripts/components/common/mapbox/layer-legend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ import {
WidgetItemHGroup
} from '$styles/panel';

import { ShadowScrollbarImproved as ShadowScrollbar } from '$components/common/shadow-scrollbar-improved';

interface LayerLegendCommonProps {
id: string;
title: string;
Expand Down Expand Up @@ -198,7 +196,8 @@ const LayerLegendTitle = styled.h3`

const LegendBody = styled(WidgetItemBodyInner)`
padding: 0;
min-height: 32px;
max-height: 120px;
.scroll-inner {
padding: ${variableGlsp(0.5, 0.75)};
}
Expand Down
2 changes: 2 additions & 0 deletions app/scripts/components/common/mapbox/map-options/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const DropHeader = styled.div`

const DropBody = styled.div`
padding: ${glsp(0, 0, 1, 0)};
max-height: 320px;
overflow-y: auto;
`;

/**
Expand Down

0 comments on commit 808bba8

Please sign in to comment.