Skip to content

Commit

Permalink
fix(explore): Icons width (apache#14717)
Browse files Browse the repository at this point in the history
* Revert width and margin

* Adjust width

* Increase margin
  • Loading branch information
geido authored and cccs-RyanS committed Dec 17, 2021
1 parent 13289a3 commit c9a53e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ export const Label = styled.div`
margin-left: ${theme.gridUnit}px;
}
.type-label {
margin-right: ${theme.gridUnit}px;
margin-right: ${theme.gridUnit * 2}px;
margin-left: ${theme.gridUnit}px;
font-weight: ${theme.typography.weights.normal};
width: auto;
}
.option-label {
display: inline;
Expand Down
3 changes: 1 addition & 2 deletions superset-frontend/src/explore/components/optionRenderers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ const OptionContainer = styled.div`
}
.type-label {
margin-right: ${({ theme }) => theme.gridUnit * 3}px;
margin-left: ${({ theme }) => theme.gridUnit * 3}px;
width: ${({ theme }) => theme.gridUnit * 4}px;
width: ${({ theme }) => theme.gridUnit * 7}px;
display: inline-block;
text-align: center;
font-weight: ${({ theme }) => theme.typography.weights.bold};
Expand Down

0 comments on commit c9a53e1

Please sign in to comment.