fix: count displaying in multiple lines

This commit is contained in:
adeel.tajamul
2022-03-01 13:11:25 +05:00
parent 4f0956ec63
commit e4b5dead3c

View File

@@ -48,7 +48,7 @@ function Topic({ topic }) {
<div className="mr-4 d-flex align-items-center" key={key}>
<Icon className="mr-2" src={icon} />
{/* Reserve some space for larger counts */}
<span style={{ width: '2rem' }}>
<span>
{count}
</span>
</div>