mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: double scroll bars on dataset editor (#11095)
* fix double scroll bar on dataset editor * add table name to virtual tab
This commit is contained in:
@@ -46,11 +46,6 @@ import Field from 'src/CRUD/Field';
|
||||
import withToasts from 'src/messageToasts/enhancers/withToasts';
|
||||
|
||||
const DatasourceContainer = styled.div`
|
||||
.tab-content {
|
||||
height: 600px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.change-warning {
|
||||
margin: 16px 10px 0;
|
||||
color: ${({ theme }) => theme.colors.warning.base};
|
||||
@@ -656,6 +651,19 @@ class DatasourceEditor extends React.PureComponent {
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Field
|
||||
fieldKey="table_name"
|
||||
label={t('table name')}
|
||||
control={
|
||||
<TextControl
|
||||
controlId="table_name"
|
||||
onChange={table => {
|
||||
this.onDatasourcePropChange('table_name', table);
|
||||
}}
|
||||
placeholder={t('Type table name')}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Field
|
||||
fieldKey="sql"
|
||||
label={t('SQL')}
|
||||
|
||||
Reference in New Issue
Block a user