@@ -53,7 +53,7 @@ const i18n = {
53
53
54
54
export default {
55
55
i18n,
56
- formElementClasses: ' gl-mr-3 gl-mb-3 gl- basis-1/4 gl-shrink-0 gl-flex-grow-0' ,
56
+ formElementClasses: ' gl-basis-1/4 gl-shrink-0 gl-flex-grow-0' ,
57
57
// this height value is used inline on the textarea to match the input field height
58
58
// it's used to prevent the overwrite if 'gl-h-7' or '!gl-h-7' were used
59
59
textAreaStyle: { height: ' 32px' },
@@ -462,16 +462,16 @@ export default {
462
462
/ >
463
463
< / gl- form- group>
464
464
465
- < gl- loading- icon v- if = " isLoading" class = " gl-mb-5" size= " lg " / >
465
+ < gl- loading- icon v- if = " isLoading" class = " gl-mb-5" size= " md " / >
466
466
467
- < gl- form- group v- else class = " gl-mb-3 " : label= " s__('Pipeline|Variables')" >
467
+ < gl- form- group v- else : label= " s__('Pipeline|Variables')" >
468
468
< div
469
469
v- for = " (variable, index) in variables"
470
470
: key= " variable.uniqueId"
471
- class = " gl-mb-3 gl-pb-2 "
471
+ class = " gl-mb-4 "
472
472
data- testid= " ci-variable-row-container"
473
473
>
474
- < div class = " gl-flex gl-flex-col gl-items-stretch md:gl-flex-row" >
474
+ < div class = " gl-flex gl-flex-col gl-items-stretch gl-gap-4 md:gl-flex-row" >
475
475
< gl- collapsible- listbox
476
476
: items= " variableTypeListboxItems"
477
477
: selected= " variable.variable_type"
@@ -501,7 +501,6 @@ export default {
501
501
v- else
502
502
v- model= " variable.value"
503
503
: placeholder= " s__('CiVariables|Input variable value')"
504
- class = " gl-mb-3"
505
504
: style= " $options.textAreaStyle"
506
505
: no- resize= " false"
507
506
data- testid= " pipeline-form-ci-variable-value-field"
@@ -510,24 +509,25 @@ export default {
510
509
< template v- if = " variables.length > 1" >
511
510
< gl- button
512
511
v- if = " canRemove(index)"
513
- class = " gl-mb-3 md:gl-ml-3"
512
+ size= " small"
513
+ class = " gl-shrink-0"
514
514
data- testid= " remove-ci-variable-row"
515
515
: category= " removeButtonCategory"
516
516
: aria- label= " $options.i18n.removeVariableLabel"
517
517
@click= " removeVariable(index)"
518
518
>
519
519
< gl- icon class = " !gl-mr-0" name= " remove" / >
520
- < span class = " gl-ml-2 md:gl-hidden" > {{ $options .i18n .removeVariableLabel }}< / span>
520
+ < span class = " md:gl-hidden" > {{ $options .i18n .removeVariableLabel }}< / span>
521
521
< / gl- button>
522
522
< gl- button
523
523
v- else
524
- class = " gl-invisible gl-mb-3 gl- hidden md: gl-ml-3 md:gl-block"
524
+ class = " gl-invisible gl-hidden gl-shrink-0 md:gl-block"
525
525
icon= " remove"
526
526
: aria- label= " $options.i18n.removeVariableLabel"
527
527
/ >
528
528
< / template>
529
529
< / div>
530
- < div v- if = " descriptions[variable.key]" class = " gl-mb-3 gl- text-subtle" >
530
+ < div v- if = " descriptions[variable.key]" class = " gl-text-subtle" >
531
531
{{ descriptions[variable .key ] }}
532
532
< / div>
533
533
< / div>
0 commit comments