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