fix: row border was leaking

This commit is contained in:
Shariq Ansari 2024-03-20 13:55:41 +05:30
parent b7c6b9f197
commit 2e47f66d4e
2 changed files with 10 additions and 1 deletions

View file

@ -740,6 +740,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
${right}
</div>
</div>
<div class="list-row-border"></div>
</div>
`;
}

View file

@ -59,7 +59,6 @@
}
.list-row-container {
border-bottom: 1px solid $border-color;
display: flex;
flex-direction: column;
outline: none;
@ -70,6 +69,15 @@
background-color: var(--highlight-color);
}
}
.list-row-border {
border-bottom: 1px solid $border-color;
margin: 0 10px;
}
&:last-child .list-row-border {
display: none;
}
}
.list-row {