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

View File

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