new branch
This commit is contained in:
@@ -77,3 +77,42 @@ body {
|
||||
.stat-card .trend.down {
|
||||
color: #ff4d4f;
|
||||
}
|
||||
|
||||
/* Table column resize */
|
||||
.ant-table-wrapper .ant-table-thead > tr > th {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.resize-handle {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 6px;
|
||||
cursor: col-resize;
|
||||
background: transparent;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.resize-handle::before {
|
||||
content: '';
|
||||
width: 2px;
|
||||
height: 20px;
|
||||
background: #d9d9d9;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.resize-handle:hover::before {
|
||||
background: #1890ff;
|
||||
}
|
||||
|
||||
/* Table cell fixed width */
|
||||
.ant-table-wrapper .ant-table-tbody > tr > td {
|
||||
max-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user