mirror of https://github.com/zulip/zulip.git
activity: Limit width of columns in activity charts.
Sets the max-width for table data cells in the activity and installation charts. If the content exceeds the limit, then the overflow is set to hidden and the text-overflow is set to ellipsis, so there is a visual indication that the text is not completely visible.
This commit is contained in:
parent
ac9d2f6aca
commit
a931d72af3
|
@ -53,13 +53,15 @@
|
||||||
th {
|
th {
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
max-width: fit-content;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
border-top: 1px solid hsl(0deg 0% 87%);
|
border-top: 1px solid hsl(0deg 0% 87%);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
|
max-width: 320px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
tbody > tr:nth-child(odd) > td {
|
tbody > tr:nth-child(odd) > td {
|
||||||
|
|
Loading…
Reference in New Issue