stream audited style fix

This commit is contained in:
Yuri Kuznetsov
2022-07-13 15:17:29 +03:00
parent 363184e7fa
commit 822ef61a0c
2 changed files with 38 additions and 15 deletions
+26 -11
View File
@@ -18,17 +18,32 @@
<div class="hidden details stream-details-container">
<ul>
{{#each fieldsArr}}
<li>
<span>{{translate field category='fields' scope=../parentType}}</span>
{{#unless noValues}}
&nbsp;<span class="text-muted">:</span>&nbsp;
<span class="inline-block-child-div">{{{var was ../this}}}</span>
&nbsp;<span class="text-muted small fas fa-arrow-right"></span>&nbsp;
<span class="inline-block-child-div">{{{var became ../this}}}</span>
{{/unless}}
</li>
{{/each}}
<table class="table audited-summary-table">
<tbody>
{{#each fieldsArr}}
<tr>
<td style="width: 30%">
<span class="text-muted">{{translate field category='fields' scope=../parentType}}</span>
</td>
<td style="width: 30%">
{{#unless noValues}}
{{{var was ../this}}}
{{/unless}}
</td>
<td style="width: 10%; text-align: center;">
{{#unless noValues}}
<span class="text-muted small fas fa-arrow-right"></span>
{{/unless}}
</td>
<td style="width: 30%">
{{#unless noValues}}
{{{var became ../this}}}
{{/unless}}
</td>
</tr>
{{/each}}
</tbody>
</table>
</ul>
</div>
+12 -4
View File
@@ -2038,6 +2038,18 @@ stream-head-text-container .span {
margin-bottom: 2px;
}
.stream-details-container {
table.audited-summary-table {
margin-top: 8px;
td {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
}
.stream-details-container > ul {
padding-left: 0px;
list-style-type: none;
@@ -2587,10 +2599,6 @@ table.table td.cell .html-container {
position: relative;
}
.inline-block-child-div > div {
display: inline-block;
}
table.table-bordered-inside {
border-collapse: collapse;
border-style: hidden;