Skip to content

Commit

Permalink
fix: adjusted tab height (apache#13822)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAfghahi authored and lyndsiWilliams committed Apr 7, 2021
1 parent 1532cce commit 9be9b4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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 = 64;
const TAB_HEIGHT = 90;

/*
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 {
overflow: hidden;
.alert {
margin-top: ${({ theme }) => theme.gridUnit * 2}px;
}
Expand Down
2 changes: 1 addition & 1 deletion superset-frontend/src/SqlLab/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ body {
position: relative;
background-color: @lightest;
overflow-x: auto;
overflow-y: hidden;
overflow-y: auto;

> .ant-tabs-tabpane {
position: absolute;
Expand Down

0 comments on commit 9be9b4f

Please sign in to comment.