Skip to content

Commit

Permalink
Merge pull request #2993 from the-deep/fix/geo-area-ui
Browse files Browse the repository at this point in the history
Fix geo area ui when lots of geo areas are added
  • Loading branch information
AdityaKhatri authored Oct 1, 2024
2 parents fefd973 + 9ff9003 commit 40b9bb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions app/views/ProjectEdit/GeoAreas/RegionCard/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React,
{
import React, {
useCallback,
useMemo,
useState,
Expand Down
7 changes: 2 additions & 5 deletions app/views/ProjectEdit/GeoAreas/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

.map-container {
display: flex;
flex-basis: 70%;
flex-grow: 1;

.map {
Expand All @@ -17,8 +16,9 @@
}

.geo-areas-list {
flex-basis: 30%;
flex-shrink: 0;
background-color: var(--dui-color-white);
width: 30%;

.add-custom {
display: flex;
Expand All @@ -29,10 +29,7 @@
.content {
display: flex;
flex-direction: column;
flex-grow: 1;
gap: var(--dui-spacing-extra-small);
justify-content: flex-start;
overflow-y: auto;

.region {
flex-shrink: 0;
Expand Down

0 comments on commit 40b9bb0

Please sign in to comment.