Improved badge color

This commit is contained in:
Alejandro Celaya 2018-08-11 18:27:51 +02:00
parent b3be7df890
commit 7efc09d73c
2 changed files with 6 additions and 1 deletions

View file

@ -26,3 +26,8 @@
padding: 30px 30px 30px 20px;
}
}
.badge-main {
color: #fff;
background-color: $mainColor;
}

View file

@ -123,7 +123,7 @@ export class ShortUrlsVisits extends React.Component {
<h2>
{
shortUrl.visitsCount &&
<span className="badge badge-primary float-right">Visits: {shortUrl.visitsCount}</span>
<span className="badge badge-main float-right">Visits: {shortUrl.visitsCount}</span>
}
Visit stats for <a target="_blank" href={shortLink}>{shortLink}</a>
</h2>