]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-12720 Reduce the font size of the counter's badge
authorPhilippe Perrin <philippe.perrin@sonarsource.com>
Tue, 7 Jan 2020 09:20:35 +0000 (10:20 +0100)
committerSonarTech <sonartech@sonarsource.com>
Mon, 13 Jan 2020 19:46:37 +0000 (20:46 +0100)
server/sonar-web/src/main/js/app/styles/components/badges.css

index 58dfd9b7a293a4af28f39dc549f7f26d52588f7c..d4aa6f653539f033551df1b2b010a17893cc157f 100644 (file)
@@ -73,7 +73,8 @@ a.badge {
 .counter-badge {
   color: var(--badgeBlueColor);
   background-color: var(--badgeBlueBackground);
-  padding: calc(var(--gridSize) / 2) var(--gridSize);
+  font-size: var(--smallFontSize);
+  padding: 0.3em 0.8em;
   border-radius: 1em;
 }