Skip to content

Commit

Permalink
fix: change overflow hidden to visible in configuration query div (#9595
Browse files Browse the repository at this point in the history
)
  • Loading branch information
drgnchan authored Nov 22, 2022
1 parent 44e723b commit 2ec89ae
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion console-ui/src/components/NameSpaceList/NameSpaceList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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}
Expand All @@ -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"
Expand Down

0 comments on commit 2ec89ae

Please sign in to comment.