mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
[SqlLab] Fix a few UI issues (#4401)
1. tab alignment css 2. if tabs are more than 1 row, need to calculate content area height 3. clean up height calculation.
This commit is contained in:
@@ -15,7 +15,7 @@ describe('SqlEditor', () => {
|
||||
latestQuery: queries[0],
|
||||
tables: [table],
|
||||
queries,
|
||||
height: '',
|
||||
getHeight: () => ('100px'),
|
||||
editorQueries: [],
|
||||
dataPreviewQueries: [],
|
||||
};
|
||||
|
||||
@@ -50,6 +50,7 @@ describe('TabbedSqlEditors', () => {
|
||||
queryEditors: initialState.queryEditors,
|
||||
tabHistory: initialState.tabHistory,
|
||||
editorHeight: '',
|
||||
getHeight: () => ('100px'),
|
||||
};
|
||||
const getWrapper = () => (
|
||||
shallow(<TabbedSqlEditors {...mockedProps} />, {
|
||||
|
||||
Reference in New Issue
Block a user