* finish task #6703.

This commit is contained in:
wangyidong
2019-12-11 14:04:11 +08:00
parent 3b767bcf5e
commit f4f330db30
2 changed files with 1 additions and 2 deletions

View File

@@ -6,7 +6,6 @@
#steps .btn-group .btn {padding-left: 0; padding-right: 0; min-width: 30px; height: 32px;}
.step-actions {width: 105px;}
#steps .active td {transition: background-color .5s;}
#steps .step-group .step-steps {resize: none; max-height: 30px;}
#steps .step-group .step-expects {display: none;}
#steps .step-item .step-item-id {display: table-cell; min-width: 40px;}
#steps .step-item .step-id {color: transparent}

View File

@@ -170,7 +170,7 @@ function initSteps(selector)
var updateStepType = function($step, type)
{
var targetIsGroup = type =='group';
$step.attr('data-type', type).find('.step-steps').toggleClass('autosize', !targetIsGroup).attr('placeholder', targetIsGroup ? groupNameText : null);
$step.attr('data-type', type).find('.step-steps').addClass('autosize').attr('placeholder', targetIsGroup ? groupNameText : null);
};
var getStepsElements = function()
{