CSS to fit long channel values.

This commit is contained in:
Pēteris Caune 2016-01-31 21:19:21 +02:00
parent 24c111738a
commit 752c6f2530
2 changed files with 8 additions and 1 deletions

View File

@ -6,6 +6,13 @@
line-height: 40px;
}
.channels-table .value-cell {
max-width: 400px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.channels-table .channel-row:hover > td {
background: #f5f5f5;
}

View File

@ -26,7 +26,7 @@
{% if ch.kind == "pd" %} PagerDuty {% endif %}
{% if ch.kind == "po" %} Pushover {% endif %}
</td>
<td>
<td class="value-cell">
<span class="preposition">
{% if ch.kind == "email" %} to {% endif %}
{% if ch.kind == "pd" %} API key {% endif %}