fix(field): prevent input size changes when showing clear icon
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Refs: #5338
This commit is contained in:
parent
e785c34d90
commit
57e36cebde
|
@ -19,6 +19,10 @@
|
|||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
& > .icons.pre {
|
||||
min-width: 22px
|
||||
}
|
||||
}
|
||||
&.readonly > .container > .icons.post {
|
||||
display: none;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<span class="required">*</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="icons pre">
|
||||
<div class="icons pre" ng-class="{'clearable': $ctrl.clearDisabled != true}">
|
||||
<vn-icon ng-show="::$ctrl.clearDisabled != true"
|
||||
icon="clear"
|
||||
translate-attr="{title: 'Clear'}"
|
||||
|
|
|
@ -151,6 +151,9 @@
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
& > .icons.pre.clearable {
|
||||
min-width: 22px
|
||||
}
|
||||
& > .underline {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
|
Loading…
Reference in New Issue