fix: change overflow hidden to visible in configuration query div (#9595)

This commit is contained in:
drgnchan 2022-11-22 09:46:19 +08:00 committed by GitHub
parent 44e723b027
commit 2ec89ae50b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 5 deletions

View File

@ -192,7 +192,7 @@ class NameSpaceList extends React.Component {
className={namespaceList.length ? 'namespacewrapper' : ''}
style={{
display: 'flex',
flex-wrap: 'wrap',
flexWrap: 'wrap',
alignItems: 'center',
marginTop: 8,
marginBottom: 16,

View File

@ -1113,8 +1113,8 @@ class ConfigurationManagement extends React.Component {
style={{
position: 'relative',
marginTop: 10,
height: this.state.isAdvancedQuery ? 'auto' : 42,
overflow: 'hidden',
height: 'auto',
overflow: 'visible',
}}
>
<Form inline>
@ -1207,7 +1207,16 @@ class ConfigurationManagement extends React.Component {
</Button>
</Form.Item>
<br />
<Form.Item style={this.inApp ? { display: 'none' } : {}} label={locale.application}>
<Form.Item
style={
this.inApp
? { display: 'none' }
: this.state.isAdvancedQuery
? {}
: { display: 'none' }
}
label={locale.application}
>
<Input
htmlType={'text'}
placeholder={locale.app1}
@ -1217,7 +1226,10 @@ class ConfigurationManagement extends React.Component {
onPressEnter={() => this.getData()}
/>
</Form.Item>
<Form.Item label={locale.tags}>
<Form.Item
style={this.state.isAdvancedQuery ? {} : { display: 'none' }}
label={locale.tags}
>
<Select
style={{ width: 200 }}
size="medium"