Commit fa98280b authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray Committed by Kushal Pandya

Fix border radius of collapse discussion btn

Turn avatar-counter into a mixin with optional border-radius
parent a2867862
...@@ -191,12 +191,5 @@ $identicon-backgrounds: $identicon-red, $identicon-purple, $identicon-indigo, $i ...@@ -191,12 +191,5 @@ $identicon-backgrounds: $identicon-red, $identicon-purple, $identicon-indigo, $i
} }
.avatar-counter { .avatar-counter {
background-color: $gray-darkest; @include avatar-counter();
color: $white-light;
border: 1px solid $gray-normal;
border-radius: 1em;
font-family: $regular-font;
font-size: 9px;
line-height: 16px;
text-align: center;
} }
...@@ -396,3 +396,14 @@ ...@@ -396,3 +396,14 @@
width: $gl-font-size * $code-line-height * 0.9; width: $gl-font-size * $code-line-height * 0.9;
height: $gl-font-size * $code-line-height * 0.9; height: $gl-font-size * $code-line-height * 0.9;
} }
@mixin avatar-counter($border-radius: 1em) {
background-color: $gray-darkest;
color: $white-light;
border: 1px solid $gray-normal;
border-radius: $border-radius;
font-family: $regular-font;
font-size: 9px;
line-height: 16px;
text-align: center;
}
...@@ -676,7 +676,7 @@ table.code { ...@@ -676,7 +676,7 @@ table.code {
.diff-comments-more-count, .diff-comments-more-count,
.diff-notes-collapse { .diff-notes-collapse {
@extend .avatar-counter; @include avatar-counter(50%);
} }
.diff-notes-collapse { .diff-notes-collapse {
......
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