Browse Source

CSS to fit long channel values.

pull/40/head
Pēteris Caune 9 years ago
parent
commit
752c6f2530
2 changed files with 8 additions and 1 deletions
  1. +7
    -0
      static/css/channels.css
  2. +1
    -1
      templates/front/channels.html

+ 7
- 0
static/css/channels.css View File

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


+ 1
- 1
templates/front/channels.html View File

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


Loading…
Cancel
Save