magner
Version:
Universal admin panel magnetic to any backend
87 lines (72 loc) • 1.36 kB
CSS
.data-table {
min-width: 768px;
&.el-table::before {
height: 0;
}
& .el-table {
&__header {
& .cell {
line-height: 1em;
word-break: break-word;
}
}
&__row {
& > td {
padding: 0;
height: 50px;
}
& .cell {
display: flex;
align-items: center;
padding: 0;
line-height: 26px;
word-break: break-word;
& .el-table__expand-icon {
height: 16px ;
width: 16px ;
margin: 0 0 0 6px;
&:hover {
color: var(--el-color-primary);
}
& .el-icon {
font-size: 16px;
}
}
}
}
}
& .cell.el-tooltip {
& .cell-content {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
& .cell-content {
display: block;
color: inherit;
text-decoration: inherit;
width: 100%;
height: 100%;
padding: 12px 10px;
&_images {
display: flex;
flex-wrap: wrap;
gap: 6px;
&_image {
width: 60px;
height: 60px;
}
}
&_tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
}
.el-table-column--selection {
.cell {
justify-content: center;
}
}
}