mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
fix: Remove gap from SQLLab results bottom (#19138)
* Remove gap from SQLLab results bottom * resolve comment
This commit is contained in:
@@ -94,6 +94,7 @@ const StyledPane = styled.div`
|
||||
}
|
||||
`;
|
||||
|
||||
const EXTRA_HEIGHT_RESULTS = 24; // we need extra height in RESULTS tab. because the height from props was calculated based on PREVIEW tab.
|
||||
const StyledEmptyStateWrapper = styled.div`
|
||||
height: 100%;
|
||||
.ant-empty-image img {
|
||||
@@ -164,7 +165,7 @@ export default function SouthPane({
|
||||
query={latestQuery}
|
||||
actions={actions}
|
||||
user={user}
|
||||
height={innerTabContentHeight}
|
||||
height={innerTabContentHeight + EXTRA_HEIGHT_RESULTS}
|
||||
database={databases[latestQuery.dbId]}
|
||||
displayLimit={displayLimit}
|
||||
defaultQueryLimit={defaultQueryLimit}
|
||||
|
||||
Reference in New Issue
Block a user