mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:53:44 +08:00
UX: Cap staff action detail height
This commit is contained in:
parent
103af2dcce
commit
f81bebf93f
|
@ -87,6 +87,7 @@
|
|||
</td>
|
||||
<td class="col value created-at">{{age-with-tooltip item.created_at}}</td>
|
||||
<td class="col value details">
|
||||
<div>
|
||||
{{{item.formattedDetails}}}
|
||||
{{#if item.useCustomModalForDetails}}
|
||||
<a href {{action "showCustomDetailsModal" item}}>{{d-icon "info-circle"}} {{i18n 'admin.logs.staff_actions.show'}}</a>
|
||||
|
@ -94,6 +95,7 @@
|
|||
{{#if item.useModalForDetails}}
|
||||
<a href {{action "showDetailsModal" item}}>{{d-icon "info-circle"}} {{i18n 'admin.logs.staff_actions.show'}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</td>
|
||||
<td class="col value context">{{item.context}}</td>
|
||||
</tr>
|
||||
|
|
|
@ -133,6 +133,10 @@
|
|||
td.subject,
|
||||
td.details {
|
||||
max-width: 20vw;
|
||||
> div {
|
||||
max-height: 100px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user