Skip to content

Commit

Permalink
fix: Remove 'Create Site Here' button on overlay sheet, and add a bit…
Browse files Browse the repository at this point in the history
… of bottom margin in its place
  • Loading branch information
knipec committed Jul 5, 2024
1 parent f5efbce commit 4c02322
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@ import {PropsWithChildren} from 'react';
import {Column} from 'terraso-mobile-client/components/NativeBaseAdapters';

export function ScoreInfoContainer({children}: PropsWithChildren) {
return <Column space={6}>{children}</Column>;
return (
<Column space={6} mb="lg">
{children}
</Column>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {Divider} from 'react-native-paper';
import {LocationBasedSoilMatch} from 'terraso-client-shared/graphqlSchema/graphql';
import {Coords} from 'terraso-client-shared/types';

import {CreateSiteButton} from 'terraso-mobile-client/screens/LocationScreens/components/CreateSiteButton';
import {LocationScoreDisplay} from 'terraso-mobile-client/screens/LocationScreens/components/soilInfo/LocationScoreDisplay';
import {PropertiesDisplay} from 'terraso-mobile-client/screens/LocationScreens/components/soilInfo/PropertiesDisplay';
import {ScoreInfoContainer} from 'terraso-mobile-client/screens/LocationScreens/components/soilInfo/ScoreInfoContainer';
Expand Down Expand Up @@ -50,7 +49,6 @@ export function TempScoreInfoContent({
/>
<Divider />
<PropertiesDisplay match={locationMatch} />
<CreateSiteButton coords={coords} />
</ScoreInfoContainer>
);
}

0 comments on commit 4c02322

Please sign in to comment.