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

View File

@ -1,37 +1,13 @@
@import "variables"; .vn-dialog .window {
width: max-content;
vn-instance-log {
vn-td { vn-td {
vertical-align: initial !important; vertical-align: initial;
}
.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;
}
} }
.attributes { .attributes {
width: 100%; width: 100%;
white-space: inherit !important;
tr { tr {
height: 10px; height: 10px;
& > td { & > td {
padding: 2px;
width: 33%; width: 33%;
} }
& > td.field, & > td.field,