Restore default table cell behavior for actions and table-col-grow-cell
This commit is contained in:
parent
53c5763909
commit
75650bf23f
@ -667,6 +667,7 @@ button, .button {
|
|||||||
// --- Tables
|
// --- Tables
|
||||||
// ---
|
// ---
|
||||||
td.actions {
|
td.actions {
|
||||||
|
> * {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -689,6 +690,7 @@ td.actions {
|
|||||||
> *:not(:first-child) {
|
> *:not(:first-child) {
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.data-table {
|
.data-table {
|
||||||
@ -929,6 +931,7 @@ td.actions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.table-col-grow-cell {
|
.table-col-grow-cell {
|
||||||
|
> * {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
@ -943,6 +946,7 @@ td.actions {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
|
@ -76,6 +76,7 @@
|
|||||||
<td>{{ (file.size / (1024 * 1024)).toFixed(2) }}MB</td>
|
<td>{{ (file.size / (1024 * 1024)).toFixed(2) }}MB</td>
|
||||||
<td>{% if file.expires_at %}{{ file.expires_at.toISOString() }}{% else %}Never{% endif %}</td>
|
<td>{% if file.expires_at %}{{ file.expires_at.toISOString() }}{% else %}Never{% endif %}</td>
|
||||||
<td class="actions">
|
<td class="actions">
|
||||||
|
<div>
|
||||||
{% if file.shouldBeDeleted() %}
|
{% if file.shouldBeDeleted() %}
|
||||||
Pending deletion
|
Pending deletion
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -86,6 +87,7 @@
|
|||||||
<button class="button danger" onclick="return confirm('Are you sure you want to delete file {{ file.real_name }}?');"><i data-feather="trash"></i> <span class="tip">Delete</span></button>
|
<button class="button danger" onclick="return confirm('Are you sure you want to delete file {{ file.real_name }}?');"><i data-feather="trash"></i> <span class="tip">Delete</span></button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user