increase offset on comment levels

This commit is contained in:
igoradamenko
2018-02-25 00:03:05 +02:00
parent ce4f11fb83
commit 41d56a213e
3 changed files with 9 additions and 5 deletions
@@ -1,10 +1,12 @@
@import '../comment.vars';
.comment__avatar {
flex-shrink: 0;
flex-grow: 0;
display: inline-block;
width: 24px;
height: 24px;
margin-right: 8px;
width: $avatarSize;
height: $avatarSize;
margin-right: $avatarOffset;
border-radius: 4px;
background: #eee;
}
@@ -1,9 +1,9 @@
@import 'common/variables';
@import '../comment.vars';
.comment_level {
@for $i from 1 through 5 {
&_#{$i} {
margin-left: $i * $offset / 2;
margin-left: $i * ($avatarSize + $avatarOffset);
}
}
}
@@ -0,0 +1,2 @@
$avatarSize: 24px;
$avatarOffset: 8px;