Skip to content

Commit adca2b0

Browse files
gmarav05NssGourav
authored andcommitted
Fixes live contributors count font dynamically
1 parent b251d06 commit adca2b0

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

src/components/FloatingContributors/FloatingContributors.css

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,13 +786,20 @@
786786
display: flex;
787787
align-items: center;
788788
justify-content: center;
789-
font-size: 11px;
789+
font-size: 8px;
790790
font-weight: 600;
791791
color: rgba(255, 255, 255, 0.7);
792792
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
793793
cursor: pointer;
794794
}
795795

796+
.contributors-more span {
797+
font-size: 8px;
798+
line-height: 1;
799+
display: inline-block;
800+
text-align: center;
801+
}
802+
796803
.contributors-more:hover {
797804
background: rgba(102, 126, 234, 0.2);
798805
border-color: rgba(102, 126, 234, 0.5);
@@ -987,6 +994,13 @@
987994
font-size: 10px;
988995
}
989996

997+
.contributors-more span {
998+
font-size: 6.5px;
999+
line-height: 1;
1000+
display: inline-block;
1001+
text-align: center;
1002+
}
1003+
9901004
.contributors-cta {
9911005
padding: 10px 14px;
9921006
font-size: 13px;
@@ -1045,6 +1059,13 @@
10451059
height: 24px;
10461060
font-size: 9px;
10471061
}
1062+
1063+
.contributors-more span {
1064+
font-size: 6.5px;
1065+
line-height: 1;
1066+
display: inline-block;
1067+
text-align: center;
1068+
}
10481069
}
10491070

10501071
/* Extra small screens */

0 commit comments

Comments
 (0)