refs #5900 Style: margin adjustments
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-06-25 17:40:09 +02:00
parent d31d1e5a13
commit fd69d69ff0
2 changed files with 8 additions and 6 deletions

View File

@ -4,8 +4,8 @@ vn-avatar {
display: block; display: block;
border-radius: 50%; border-radius: 50%;
overflow: hidden; overflow: hidden;
height: 36px; height: 38px;
width: 36px; width: 38px;
font-size: 22px; font-size: 22px;
background-color: $color-main; background-color: $color-main;
position: relative; position: relative;

View File

@ -40,13 +40,12 @@ vn-log {
width: 8px; width: 8px;
position: absolute; position: absolute;
transform: rotateY(0deg) rotate(45deg); transform: rotateY(0deg) rotate(45deg);
top: 14px; top: 15px;
right: -4px; right: -4px;
z-index: 1; z-index: 1;
} }
& > vn-avatar { & > vn-avatar {
cursor: pointer; cursor: pointer;
margin-top: 4px;
&.system { &.system {
background-color: $color-main !important; background-color: $color-main !important;
@ -56,10 +55,10 @@ vn-log {
position: absolute; position: absolute;
background-color: $color-main; background-color: $color-main;
width: 2px; width: 2px;
left: 17px; left: 18px;
z-index: -1; z-index: -1;
top: 44px; top: 44px;
bottom: -8px; bottom: -2px;
} }
} }
&:last-child > .timeline > .line { &:last-child > .timeline > .line {
@ -115,6 +114,9 @@ vn-log {
border-radius: 2px; border-radius: 2px;
overflow: hidden; overflow: hidden;
&:last-child {
margin-bottom: 0;
}
& > .change-info { & > .change-info {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;