diff --git a/superset-frontend/src/SqlLab/components/SouthPane/SouthPane.tsx b/superset-frontend/src/SqlLab/components/SouthPane/SouthPane.tsx index 10d9aca6dbc82..5585a151cc8dc 100644 --- a/superset-frontend/src/SqlLab/components/SouthPane/SouthPane.tsx +++ b/superset-frontend/src/SqlLab/components/SouthPane/SouthPane.tsx @@ -33,7 +33,7 @@ import { LOCALSTORAGE_MAX_QUERY_AGE_MS, } from '../../constants'; -const TAB_HEIGHT = 64; +const TAB_HEIGHT = 90; /* editorQueries are queries executed by users passed from SqlEditor component @@ -63,7 +63,6 @@ const StyledPane = styled.div` flex-direction: column; } .tab-content { - overflow: hidden; .alert { margin-top: ${({ theme }) => theme.gridUnit * 2}px; } diff --git a/superset-frontend/src/SqlLab/main.less b/superset-frontend/src/SqlLab/main.less index 4bb4507f13dc4..6600ff6dc2998 100644 --- a/superset-frontend/src/SqlLab/main.less +++ b/superset-frontend/src/SqlLab/main.less @@ -56,7 +56,7 @@ body { position: relative; background-color: @lightest; overflow-x: auto; - overflow-y: hidden; + overflow-y: auto; > .ant-tabs-tabpane { position: absolute; diff --git a/superset-frontend/src/components/ProgressBar/index.tsx b/superset-frontend/src/components/ProgressBar/index.tsx index d8f9b1e82f96f..93b4315e523d7 100644 --- a/superset-frontend/src/components/ProgressBar/index.tsx +++ b/superset-frontend/src/components/ProgressBar/index.tsx @@ -30,6 +30,10 @@ const ProgressBar = styled(({ striped, ...props }: ProgressBarProps) => ( ))` line-height: 0; + position: static; + .ant-progress-inner { + position: static; + } .ant-progress-outer { ${({ percent }) => !percent && `display: none;`} } @@ -37,6 +41,7 @@ const ProgressBar = styled(({ striped, ...props }: ProgressBarProps) => ( font-size: ${({ theme }) => theme.typography.sizes.s}px; } .ant-progress-bg { + position: static; ${({ striped }) => striped && `