File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed
PluginAddToExistingConfiguration
PluginCreateConfiguration Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 4343 padding : $ix-marg-d ;
4444}
4545
46+ .configuration-overlay--body {
47+ padding : 45px !important ;
48+ padding-top : 0 !important ;
49+ padding-bottom : 0 !important ;
50+ }
51+
4652/*
4753 Telegraf Instructions Overlay
4854 ------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ import {isSystemBucket} from 'src/buckets/constants'
4545
4646// Constants
4747import { getBucketOverlayWidth } from 'src/buckets/constants'
48+
4849const TELEGRAF_UI_REFRESH_OVERLAY_DEFAULT_WIDTH = 1200
4950
5051interface OwnProps {
@@ -79,7 +80,7 @@ class TelegrafUIRefreshWizard extends PureComponent<Props> {
7980 ( currentStepIndex === 0 && substepIndex === 1 ) ||
8081 currentStepIndex === 1
8182 ) {
82- overlayBodyClassName = ''
83+ overlayBodyClassName = 'configuration-overlay--body '
8384 }
8485
8586 return (
Original file line number Diff line number Diff line change @@ -115,9 +115,12 @@ const Wizard: FC<Props> = props => {
115115
116116 let overlayBodyClassName = 'data-loading--overlay'
117117
118- if ( currentStepIndex === 0 || currentStepIndex === 1 ) {
118+ if ( currentStepIndex === 0 ) {
119119 overlayBodyClassName = ''
120120 }
121+ if ( currentStepIndex === 1 ) {
122+ overlayBodyClassName = 'configuration-overlay--body'
123+ }
121124
122125 return (
123126 < Overlay visible = { isVisible } >
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ const Wizard: FC<Props> = props => {
111111 }
112112
113113 let title = 'Configuration Options'
114+
114115 if ( currentStepIndex === 0 && substepIndex === 1 ) {
115116 title = 'Create Bucket'
116117 } else if ( currentStepIndex !== 0 ) {
@@ -128,9 +129,12 @@ const Wizard: FC<Props> = props => {
128129
129130 let overlayBodyClassName = 'data-loading--overlay'
130131
131- if ( currentStepIndex === 0 || currentStepIndex === 1 ) {
132+ if ( currentStepIndex === 0 || substepIndex === 1 ) {
132133 overlayBodyClassName = ''
133134 }
135+ if ( currentStepIndex === 1 ) {
136+ overlayBodyClassName = 'configuration-overlay--body'
137+ }
134138
135139 return (
136140 < Overlay visible = { isVisible } >
You can’t perform that action at this time.
0 commit comments