diff --git a/superset-frontend/src/components/dataViewCommon/TableCollection.tsx b/superset-frontend/src/components/dataViewCommon/TableCollection.tsx index 71b825219c415..4e15744c2b369 100644 --- a/superset-frontend/src/components/dataViewCommon/TableCollection.tsx +++ b/superset-frontend/src/components/dataViewCommon/TableCollection.tsx @@ -51,6 +51,7 @@ export const Table = styled.table` background: ${({ theme }) => theme.colors.grayscale.light5}; position: sticky; top: 0; + &:first-of-type { padding-left: ${({ theme }) => theme.gridUnit * 4}px; } @@ -76,11 +77,14 @@ export const Table = styled.table` span { white-space: nowrap; + display: flex; + align-items: center; + line-height: 2; } svg { display: inline-block; - top: 6px; + top: 2px; position: relative; } }