fix: adjusted tab height (#13822)
This commit is contained in:
parent
f6f412b4ae
commit
4187d9e4c4
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ body {
|
|||
position: relative;
|
||||
background-color: @lightest;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
overflow-y: auto;
|
||||
|
||||
> .ant-tabs-tabpane {
|
||||
position: absolute;
|
||||
|
|
|
|||
|
|
@ -30,6 +30,10 @@ const ProgressBar = styled(({ striped, ...props }: ProgressBarProps) => (
|
|||
<AntdProgress {...props} />
|
||||
))`
|
||||
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 &&
|
||||
`
|
||||
|
|
|
|||
Loading…
Reference in New Issue