UX: Cap staff action detail height
This commit is contained in:
parent
103af2dcce
commit
f81bebf93f
|
@ -87,13 +87,15 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="col value created-at">{{age-with-tooltip item.created_at}}</td>
|
<td class="col value created-at">{{age-with-tooltip item.created_at}}</td>
|
||||||
<td class="col value details">
|
<td class="col value details">
|
||||||
{{{item.formattedDetails}}}
|
<div>
|
||||||
{{#if item.useCustomModalForDetails}}
|
{{{item.formattedDetails}}}
|
||||||
<a href {{action "showCustomDetailsModal" item}}>{{d-icon "info-circle"}} {{i18n 'admin.logs.staff_actions.show'}}</a>
|
{{#if item.useCustomModalForDetails}}
|
||||||
{{/if}}
|
<a href {{action "showCustomDetailsModal" item}}>{{d-icon "info-circle"}} {{i18n 'admin.logs.staff_actions.show'}}</a>
|
||||||
{{#if item.useModalForDetails}}
|
{{/if}}
|
||||||
<a href {{action "showDetailsModal" item}}>{{d-icon "info-circle"}} {{i18n 'admin.logs.staff_actions.show'}}</a>
|
{{#if item.useModalForDetails}}
|
||||||
{{/if}}
|
<a href {{action "showDetailsModal" item}}>{{d-icon "info-circle"}} {{i18n 'admin.logs.staff_actions.show'}}</a>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="col value context">{{item.context}}</td>
|
<td class="col value context">{{item.context}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -133,6 +133,10 @@
|
||||||
td.subject,
|
td.subject,
|
||||||
td.details {
|
td.details {
|
||||||
max-width: 20vw;
|
max-width: 20vw;
|
||||||
|
> div {
|
||||||
|
max-height: 100px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue