refs #4866 fix css
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2022-12-09 11:41:08 +01:00
parent 0da90fdb4e
commit 4bafcc905a
2 changed files with 7 additions and 31 deletions

View File

@ -16,8 +16,8 @@
<vn-thead>
<vn-tr>
<vn-th field="creationDate">Date</vn-th>
<vn-th field="userFk" shrink>User</vn-th>
<vn-th field="action" shrink>Action</vn-th>
<vn-th field="userFk">User</vn-th>
<vn-th field="action">Action</vn-th>
<vn-th expand>Changes</vn-th>
</vn-tr>
</vn-thead>
@ -47,8 +47,8 @@
<tbody>
<tr ng-repeat="prop in ::log.props">
<td class="field">{{prop.name}}</td>
<td class="before">{{::$ctrl.formatValue(prop.old)}}</td>
<td class="after">{{::$ctrl.formatValue(prop.new)}}</td>
<td class="before" vn-tooltip="{{::$ctrl.formatValue(prop.old)}}">{{::$ctrl.formatValue(prop.old)}}</td>
<td class="after" vn-tooltip="{{::$ctrl.formatValue(prop.new)}}">{{::$ctrl.formatValue(prop.new)}}</td>
</tr>
</tbody>
</table>

View File

@ -1,37 +1,13 @@
@import "variables";
vn-instance-log {
.vn-dialog .window {
width: max-content;
vn-td {
vertical-align: initial !important;
}
.changes {
display: none;
}
.label {
color: $color-font-secondary;
}
.value {
color: $color-font;
}
@media screen and (max-width: 1570px) {
vn-table .expendable {
display: none;
}
.changes {
padding-top: 10px;
display: block;
}
vertical-align: initial;
}
.attributes {
width: 100%;
white-space: inherit !important;
tr {
height: 10px;
& > td {
padding: 2px;
width: 33%;
}
& > td.field,