mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-09 15:06:37 +08:00
style: Fix the problem where dropdown text is too long to display properly. (#9378)
This commit is contained in:
parent
1f6ea9f494
commit
735b44856e
1 changed files with 12 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
|||
>
|
||||
<el-row>
|
||||
<el-col :span="20">
|
||||
<span>{{ acme.email }}</span>
|
||||
<span class="dns-name">{{ acme.email }}</span>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<span>
|
||||
|
@ -80,7 +80,7 @@
|
|||
>
|
||||
<el-row>
|
||||
<el-col :span="20">
|
||||
<span>{{ dns.name }}</span>
|
||||
<span class="dns-name">{{ dns.name }}</span>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<span>
|
||||
|
@ -378,3 +378,13 @@ defineExpose({
|
|||
acceptParams,
|
||||
});
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.dns-name {
|
||||
display: inline-block;
|
||||
max-width: 300px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
vertical-align: top;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue