Skip to content

Commit

Permalink
changed to static
Browse files Browse the repository at this point in the history
  • Loading branch information
AAfghahi committed Apr 1, 2021
1 parent 347e8db commit 383d563
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
LOCALSTORAGE_MAX_QUERY_AGE_MS,
} from '../../constants';

const TAB_HEIGHT = 76;
const TAB_HEIGHT = 82;

/*
editorQueries are queries executed by users passed from SqlEditor component
Expand Down Expand Up @@ -63,7 +63,6 @@ const StyledPane = styled.div`
flex-direction: column;
}
.tab-content {
height: 100%;
.alert {
margin-top: ${({ theme }) => theme.gridUnit * 2}px;
}
Expand Down Expand Up @@ -154,7 +153,7 @@ export default function SouthPane({
csv={false}
actions={actions}
cache
height={innerTabContentHeight}
height={innerTabContentHeight - 10}
displayLimit={displayLimit}
/>
</Tabs.TabPane>
Expand Down
6 changes: 3 additions & 3 deletions superset-frontend/src/components/ProgressBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const ProgressBar = styled(({ striped, ...props }: ProgressBarProps) => (
<AntdProgress {...props} />
))`
line-height: 0;
position: inherit;
position: static;
.ant-progress-inner {
position: inherit;
position: static;
}
.ant-progress-outer {
${({ percent }) => !percent && `display: none;`}
Expand All @@ -41,7 +41,7 @@ const ProgressBar = styled(({ striped, ...props }: ProgressBarProps) => (
font-size: ${({ theme }) => theme.typography.sizes.s}px;
}
.ant-progress-bg {
position: inherit;
position: static;
${({ striped }) =>
striped &&
`
Expand Down

0 comments on commit 383d563

Please sign in to comment.