refs #5800 Origin separator style more clear
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-06-25 19:52:14 +02:00
parent d69cbe0ad4
commit 544445c4ae
2 changed files with 23 additions and 7 deletions

View File

@ -16,9 +16,12 @@
model="model"
class="vn-w-sm vn-px-sm vn-pb-xl">
<div class="origin-log" ng-repeat="originLog in $ctrl.logTree">
<h6 class="origin-info vn-my-md" ng-if="::$ctrl.logTree.length > 1">
{{::$ctrl.modelI18n}} #{{::originLog.originFk}}
</h6>
<div class="origin-info vn-mb-md" ng-if="::$ctrl.logTree.length > 1">
<h6 class="origin-id">
{{::$ctrl.modelI18n}} #{{::originLog.originFk}}
</h6>
<div class="line"></div>
</div>
<div class="user-log vn-mb-sm" ng-repeat="userLog in ::originLog.logs">
<div class="timeline">
<vn-avatar

View File

@ -6,10 +6,23 @@ vn-log {
margin-top: 0;
}
& > .origin-info {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: $color-font-secondary;
display: flex;
align-items: center;
margin-top: 28px;
gap: 6px;
& > .origin-id {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: $color-font-secondary;
margin: 0;
}
& > .line {
flex-grow: 1;
background-color: $color-font-secondary;
height: 2px;
}
}
}
.user-log {