Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

[fix] align upload icon (#2799)

Igor Dykhta979c9a5a1876
diff --git a/src/components/src/common/file-uploader/file-upload.tsx b/src/components/src/common/file-uploader/file-upload.tsx
index 44dcb0059..4d8c8472d 100644
--- a/src/components/src/common/file-uploader/file-upload.tsx
+++ b/src/components/src/common/file-uploader/file-upload.tsx
@@ -17,8 +17,6 @@ import ReactMarkdown from 'react-markdown';
import {FormattedMessage} from '@kepler.gl/localization';
import {media} from '@kepler.gl/styles';
-/** @typedef {import('./file-upload').FileUploadProps} FileUploadProps */
-
const fileIconColor = '#D3D8E0';
const LinkRenderer = props => {
@@ -82,6 +80,9 @@ const StyledDragNDropIcon = styled.div`
color: ${fileIconColor};
margin-bottom: 48px;
+ display: flex;
+ justify-content: center;
+
${media.portable`
margin-bottom: 16px;
`};