From d75c9d3cd981ba663c9bdb504627763a148bfcef Mon Sep 17 00:00:00 2001 From: simurai Date: Mon, 2 Mar 2020 18:13:56 +0900 Subject: [PATCH] Use size scale for .Counter --- src/labels/counters.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/labels/counters.scss b/src/labels/counters.scss index 083d8907..22ea1e31 100644 --- a/src/labels/counters.scss +++ b/src/labels/counters.scss @@ -1,13 +1,13 @@ // Counters are rounded-corner badges for numbers .Counter { display: inline-block; - min-width: 20px; // makes sure it's a circle with just one digit + min-width: $size-2; // makes sure it's a circle with just one digit // stylelint-disable-next-line primer/spacing padding: 0 6px; font-size: $font-size-small; font-weight: $font-weight-semibold; // stylelint-disable-next-line primer/typography - line-height: 20px; + line-height: $size-2; color: $text-gray-dark; text-align: center; // stylelint-disable-next-line primer/colors