increase offset on comment levels
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user