File size: 1,249 Bytes
4d9bd3b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66bd62c
 
 
 
4d9bd3b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.truncate {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.table-wrap {
    max-height: 520px;
    overflow: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
}

table.sortable-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

table.sortable-table th,
table.sortable-table td {
    padding: 0.45rem 0.6rem;
    vertical-align: top;
    overflow-wrap: anywhere;
}

table.sortable-table th {
    cursor: pointer;
    user-select: none;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.sort-indicator {
    font-size: 0.8em;
    opacity: 0.7;
}

.expandable-cell {
    max-width: 260px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.expandable-cell.expanded {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 600px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 6px;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.expandable-cell.collapsed::after {
    content: " ⤢";
    color: #888;
    font-size: 12px;
}

.col-max {
    max-width: 250px;
}