Skip to content

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

[fix] dropdown list alignment and spacing (#2325)

Igor D203829aa92d7
diff --git a/src/styles/src/base.ts b/src/styles/src/base.ts
index 3bc85fe14..05cdcc78f 100644
--- a/src/styles/src/base.ts
+++ b/src/styles/src/base.ts
@@ -885,7 +885,6 @@ const dropdownListAnchor = css`
padding-left: 3px;
font-size: ${props => props.theme.selectFontSize};
line-height: ${props => props.theme.dropdownListLineHeight}px;
- display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
@@ -907,6 +906,10 @@ const dropdownListSize = css`
`;
const dropdownListItem = css`
+ height: 34px;
+ display: flex;
+ align-items: center;
+
${dropdownListSize} &.hover,
&:hover {
cursor: pointer;