This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

update table

old
宇天 2020-05-09 19:40:19 +08:00
parent 7f83c05c58
commit 16cca96cd3
2 changed files with 9 additions and 3 deletions

View File

@ -18,12 +18,10 @@ li {
}
.table {
overflow: hidden;
flex: 1;
display: flex;
flex-direction: column;
min-width: 100%;
// height: 100%;
border: 1px solid nth($cp, 3);
border-right: 0;
.thead,
.tfoot {
@ -66,6 +64,10 @@ li {
&.flex-8 {
flex: 8;
}
&:last-child {
border-right: 0;
}
}
.thead .td {

View File

@ -7,11 +7,15 @@
// flex: 1;
display: flex;
width: auto;
// border-bottom: 1px solid nth($cp, 3);
color: inherit;
}
:host(:hover) {
background-color: #fbfbfb;
}
::slotted(wc-table-td:last-child) {
border-right: 0;
}
</style>
<script>