UI调整
This commit is contained in:
1 parent
2fb81df73a
commit
391aea1034
1 file changed
+8
-5
@@ -37,7 +37,7 @@
|
||||
max-width="30"
|
||||
:src="`/<$ ctx.app.config.appId $>/public${templateItem['taskTemplateIcon']}`"
|
||||
></v-img>
|
||||
<div class="omit">{{templateItem['workflowName']}}</div>
|
||||
<div class="omit template-box-label">{{templateItem['workflowName']}}</div>
|
||||
</div>
|
||||
</v-card>
|
||||
</v-row>
|
||||
@@ -154,11 +154,12 @@
|
||||
|
||||
<style scoped>
|
||||
.omit{
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
word-wrap: break-word;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.template-box{
|
||||
width: 180px;
|
||||
height: 60px;
|
||||
@@ -167,6 +168,8 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.template-box .template-box-label{
|
||||
width: 120px;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user