Browse Source

Fix unwanted text wrapping in the URL cell

pull/563/head
Pēteris Caune 3 years ago
parent
commit
5fafc871dd
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 4 additions and 5 deletions
  1. +1
    -1
      static/css/my_checks_desktop.css
  2. +3
    -4
      templates/front/my_checks_desktop.html

+ 1
- 1
static/css/my_checks_desktop.css View File

@ -116,7 +116,6 @@ tr:hover .copy-link {
font-size: 11.7px; font-size: 11.7px;
position: relative; position: relative;
line-height: 36px; line-height: 36px;
white-space: nowrap;
} }
.my-checks-url .base { .my-checks-url .base {
@ -128,6 +127,7 @@ tr:hover .copy-link {
white-space: nowrap; white-space: nowrap;
} }
#checks-table td.url,
#checks-table .actions { #checks-table .actions {
white-space: nowrap; white-space: nowrap;
} }


+ 3
- 4
templates/front/my_checks_desktop.html View File

@ -72,7 +72,7 @@
{% endfor %} {% endfor %}
</div> </div>
</td> </td>
<td class="hidden-xs hidden-sm">
<td class="hidden-xs hidden-sm url">
<span class="my-checks-url"> <span class="my-checks-url">
<span class="base hidden-md">{{ ping_endpoint }}</span>{{ check.code }} <span class="base hidden-md">{{ ping_endpoint }}</span>{{ check.code }}
</span> </span>
@ -94,13 +94,12 @@
{% endif %} {% endif %}
</td> </td>
<td class="hidden-xs"> <td class="hidden-xs">
<div
<div class="timeout-grace"
data-kind="{{ check.kind }}" data-kind="{{ check.kind }}"
data-timeout="{{ check.timeout.total_seconds }}" data-timeout="{{ check.timeout.total_seconds }}"
data-grace="{{ check.grace.total_seconds }}" data-grace="{{ check.grace.total_seconds }}"
data-schedule="{{ check.schedule }}" data-schedule="{{ check.schedule }}"
data-tz="{{ check.tz }}"
class="timeout-grace">
data-tz="{{ check.tz }}">
{% if check.kind == "simple" %} {% if check.kind == "simple" %}
{{ check.timeout|hc_duration }} {{ check.timeout|hc_duration }}
<br /> <br />


Loading…
Cancel
Save