Skip to content

Commit

Permalink
修复#601[WebUI] 表格内内容有时有偏移
Browse files Browse the repository at this point in the history
  • Loading branch information
SaikiCode authored and Gaojianli committed Oct 30, 2024
1 parent f704f3e commit cf0e1fa
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion webui/src/views/banlist/components/banListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
size="medium"
class="banlist-item"
:layout="(['inline-vertical', 'horizontal'] as const)[descriptionLayout]"
table-layout="fixed"
>
<template #title>
<a-space fill style="display: flex; justify-content: space-between">
Expand Down Expand Up @@ -199,7 +200,7 @@ const handleUnban = async (address: string) => {
}
</script>

<style scoped>
<style lang="less" scoped>
.red {
color: red;
}
Expand All @@ -223,3 +224,18 @@ a {
opacity: 1;
}
</style>
<style lang="less">
.banlist-item {
div {
table {
tbody {
tr {
td.arco-descriptions-item-label {
width: 100px;
}
}
}
}
}
}
</style>

0 comments on commit cf0e1fa

Please sign in to comment.