Skip to content

Commit

Permalink
[fix] adjust margin for map save modal to show Save button without sc…
Browse files Browse the repository at this point in the history
…rolling (#2954)

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
  • Loading branch information
igorDykhta authored Jan 29, 2025
1 parent f00b4b8 commit 4aef54a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/src/modals/save-map-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ const StyledSaveMapModal = styled.div.attrs({
}
`;

const StyledCompactExportSection = styled(StyledExportSection)`
margin: 5px 0;
`;

const nop = () => {
return;
};
Expand Down Expand Up @@ -224,7 +228,7 @@ function SaveMapModalFactory() {
</div>
</StyledExportSection>
) : null}
<StyledExportSection>
<StyledCompactExportSection>
<div className="description image-preview-panel">
<ImagePreview
exportImage={exportImage}
Expand All @@ -246,7 +250,7 @@ function SaveMapModalFactory() {
onChangeInput={onChangeInput}
/>
)}
</StyledExportSection>
</StyledCompactExportSection>
</>
)}
{providerError ? (
Expand Down

0 comments on commit 4aef54a

Please sign in to comment.