Skip to content

Commit

Permalink
Merge pull request #135 from danielgolden/main
Browse files Browse the repository at this point in the history
fix: map list scrolling issue fixed
  • Loading branch information
tangollama authored Nov 3, 2020
2 parents 340bb1a + 45be1f7 commit 08ddb42
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nerdlets/geo-ops-nerdlet/MapList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ import RightToolbar from './Toolbars/RightToolbar';
import LeftToolbar from './Toolbars/LeftToolbar';

const StyledGrid = styled(Grid)`
width: 100%;
padding: 24px;
background-color: #f4f5f5;
height: calc(100% - 74px);
overflow: scroll;
div.map-grid {
grid-gap: 16px;
}
.map-grid-container {
padding-bottom: 20px;
overflow: visible;
}
`;

const AddNewMapButton = styled.div`
Expand Down Expand Up @@ -100,7 +107,7 @@ export default class MapList extends PureComponent {
<StyledGrid
spacingType={[Grid.SPACING_TYPE.NONE, Grid.SPACING_TYPE.NONE]}
>
<GridItem columnSpan={12} fullHeight>
<GridItem columnSpan={12} fullHeight className="map-grid-container">
<Grid className="map-grid">
{mapGridItems}
<GridItem columnSpan={3}>
Expand Down

0 comments on commit 08ddb42

Please sign in to comment.