Skip to content

Commit d71f04b

Browse files
committed
fix: UI cut off
1 parent dba3fdf commit d71f04b

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

‎superset-frontend/src/explore/components/ControlHeader.tsx‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,15 @@ export type ControlHeaderProps = {
4242
const iconStyles = css`
4343
&.anticon {
4444
font-size: unset;
45+
overflow: visible;
46+
display: inline-block;
47+
vertical-align: middle;
48+
line-height: 1;
49+
padding-bottom: 0.1em;
4550
.anticon {
4651
line-height: unset;
4752
vertical-align: unset;
53+
overflow: visible;
4854
}
4955
}
5056
`;
@@ -121,6 +127,8 @@ const ControlHeader: FC<ControlHeaderProps> = ({
121127
margin-bottom: ${theme.sizeUnit * 0.5}px;
122128
position: relative;
123129
font-size: ${theme.fontSizeSM}px;
130+
overflow: visible;
131+
padding-bottom: 0.1em;
124132
`}
125133
htmlFor={name}
126134
>

‎superset-frontend/src/explore/components/ExploreViewContainer/index.jsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ const ExplorePanelContainer = styled.div`
138138
justify-content: space-between;
139139
.horizontal-text {
140140
font-size: ${theme.fontSize}px;
141+
line-height: 1.5;
142+
display: inline-block;
143+
height: auto;
144+
overflow: visible;
141145
}
142146
}
143147
.no-show {

‎superset-frontend/src/explore/components/controls/VizTypeControl/VizTile.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export const VizTile = ({
137137
font-size: ${theme.fontSizeSM}px;
138138
min-width: 0;
139139
padding-right: ${theme.sizeUnit}px;
140-
line-height: 1;
140+
line-height: 1.5;
141141
`}
142142
ref={chartNameRef}
143143
>

0 commit comments

Comments
 (0)