Prevent shrunk url list from overflowing

This commit is contained in:
Alice Gaudon 2021-04-22 20:05:24 +02:00
parent 75650bf23f
commit 4573846c7b
1 changed files with 6 additions and 7 deletions

View File

@ -45,8 +45,8 @@
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
<th class="table-col-grow">URL</th> <th class="table-col-grow">Target</th>
<th>Target</th> <th>Actions</th>
</tr> </tr>
</thead> </thead>
@ -54,13 +54,12 @@
{% for url in urls %} {% for url in urls %}
<tr> <tr>
<td>{{ url.id }}</td> <td>{{ url.id }}</td>
<td> <td class="table-col-grow-cell"><a href="{{ url.getURL() }}"><pre>{{ url.target_url }}</pre></a></td>
<div class="copyable-text"> <td class="actions">
<a class="content" href="{{ url.getURL() }}" target="_blank">{{ url.getURL() }}</a> <div>
<button class="copy-button"><i data-feather="copy"></i></button> <button class="copy-button" data-content="{{ url.getURL() }}"><i data-feather="copy"></i> <span class="tip">Copy URL</span></button>
</div> </div>
</td> </td>
<td><pre>{{ url.target_url }}</pre></td>
</tr> </tr>
{% else %} {% else %}
<tr> <tr>