Commit 530c9519 authored by Kjel Delaey's avatar Kjel Delaey

Make sure that multi-commit rows inside event bodies are aligned properly..

Prevent the second, third, ... rows from having a different indentation
than the first commit row.

Adding the extra "15px padding" to the event item prevents this.
Having a 15px margin on the avatar only doesn't prevent this from
happening.
parent 3f2955de
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*/ */
.event-item { .event-item {
font-size: $gl-font-size; font-size: $gl-font-size;
padding: $gl-padding $gl-padding $gl-padding ($gl-padding + $gl-avatar-size); padding: $gl-padding $gl-padding $gl-padding ($gl-padding + $gl-avatar-size + 15px);
margin-left: -$gl-padding; margin-left: -$gl-padding;
margin-right: -$gl-padding; margin-right: -$gl-padding;
border-bottom: 1px solid $table-border-color; border-bottom: 1px solid $table-border-color;
...@@ -27,8 +27,7 @@ ...@@ -27,8 +27,7 @@
} }
.avatar { .avatar {
margin-left: -$gl-avatar-size; margin-left: -($gl-avatar-size + 15px);
margin-right: 15px;
} }
.event-title { .event-title {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment