Browse Source

!739 UI fixed an issue where the width of the dimension text box on the tensor page is abnormal.

Merge pull request !739 from 夏易凡/0908master
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
860777f1ee
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      mindinsight/ui/src/components/debuggerGridTableSimple.vue

+ 4
- 2
mindinsight/ui/src/components/debuggerGridTableSimple.vue View File

@@ -43,7 +43,7 @@ limitations under the License.
</div> </div>
<div v-for="(item, itemIndex) in filterArr" <div v-for="(item, itemIndex) in filterArr"
:key="itemIndex"> :key="itemIndex">
<el-input class="filter-input"
<el-input class="filter-input long-input"
:class="item.showError ? 'error-border' : ''" :class="item.showError ? 'error-border' : ''"
v-model="item.model"></el-input> v-model="item.model"></el-input>
<span class="input-behind" <span class="input-behind"
@@ -694,9 +694,11 @@ export default {
} }
} }
.filter-input { .filter-input {
width: 120px;
text-align: center; text-align: center;
} }
.long-input {
width: 120px;
}
.input-behind { .input-behind {
padding: 0 5px; padding: 0 5px;
} }


Loading…
Cancel
Save