fix: Column name and icons alignment in the Datasource Panel (Explore) (#14551)

* Fix column name alignment

* Fix space wrap
This commit is contained in:
Geido 2021-05-11 20:27:46 +03:00 committed by GitHub
parent 09050aee62
commit 3a4536acac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -27,8 +27,16 @@ import {
} from '@superset-ui/chart-controls';
const OptionContainer = styled.div`
> span {
display: flex;
align-items: center;
}
.option-label {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
& ~ i {
margin-left: ${({ theme }) => theme.gridUnit}px;
}