Skip to content

Commit

Permalink
fix: 修复promql模式下小屏样式问题
Browse files Browse the repository at this point in the history
  • Loading branch information
liangling0628 committed Dec 9, 2023
1 parent 1791e1a commit fa81561
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bkmonitor-event-datasource/src/sass/query.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
align-items: center;
background-color: #e7e9ef;
color: #313238;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex-wrap: nowrap;
.label-tip {
margin-right: -8px;
margin-left: 8px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ export default class AddvanceSetting extends React.PureComponent<IAddvanceSettin
</div>
<div className={`addvance-setting-content ${showContent ? '' : 'is-hidden'}`}>
{
mode === 'code' ? <EditorForm title='Min Step'>
mode === 'code' ? <EditorForm title='Min Step' labelStyle={{
minWidth: '86px',
}}>
<AliasInput style={{ width: '88px', height: '32px' }}
inputProps={{ defaultValue: step, placeholder: 'auto' }}
onChange={v => onChange('step', v)} />
Expand Down
4 changes: 4 additions & 0 deletions bkmonitor-timeseries-datasource/src/sass/query.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
align-items: center;
background-color: #e7e9ef;
color: #313238;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex-wrap: nowrap;
.label-tip {
margin-right: -8px;
margin-left: 8px;
Expand Down

0 comments on commit fa81561

Please sign in to comment.