Skip to content

Commit 735b448

Browse files
style: Fix the problem where dropdown text is too long to display properly. (1Panel-dev#9378)
1 parent 1f6ea9f commit 735b448

File tree

1 file changed

+12
-2
lines changed
  • frontend/src/views/website/ssl/create

1 file changed

+12
-2
lines changed

frontend/src/views/website/ssl/create/index.vue

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
>
3737
<el-row>
3838
<el-col :span="20">
39-
<span>{{ acme.email }}</span>
39+
<span class="dns-name">{{ acme.email }}</span>
4040
</el-col>
4141
<el-col :span="4">
4242
<span>
@@ -80,7 +80,7 @@
8080
>
8181
<el-row>
8282
<el-col :span="20">
83-
<span>{{ dns.name }}</span>
83+
<span class="dns-name">{{ dns.name }}</span>
8484
</el-col>
8585
<el-col :span="4">
8686
<span>
@@ -378,3 +378,13 @@ defineExpose({
378378
acceptParams,
379379
});
380380
</script>
381+
<style lang="scss" scoped>
382+
.dns-name {
383+
display: inline-block;
384+
max-width: 300px;
385+
overflow: hidden;
386+
text-overflow: ellipsis;
387+
white-space: nowrap;
388+
vertical-align: top;
389+
}
390+
</style>

0 commit comments

Comments
 (0)