refs #5900 Origin separator style fix
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-06-25 19:39:27 +02:00
parent efe0966069
commit d69cbe0ad4
2 changed files with 10 additions and 26 deletions

View File

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

View File

@ -2,27 +2,14 @@
vn-log {
.origin-log {
&:first-child > .origin-info {
margin-top: 0;
}
& > .origin-info {
display: flex;
text-align: right;
justify-content: space-between;
align-items: center;
column-gap: 4px;
padding-left: 48px;
margin-bottom: 10px;
& > .line {
flex-grow: 1;
background-color: $color-font-secondary;
height: 2px;
}
& > .origin-id {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 1.1rem;
color: $color-font-secondary;
}
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: $color-font-secondary;
}
}
.user-log {