Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: badges better positions (#5829)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathkalyans authored Apr 4, 2023
1 parent 25b53e6 commit 9765ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function Tag({ name, total, selected, onClick }) {
<Badge
content={abbreviateNumber(total)}
display={!!total}
badgeClassName={"translate-x-2/4 -translate-y-1/2"}
badgeClassName={"translate-x-1.5 -translate-y-1"}
>
<div
onClick={onClick}
Expand Down
2 changes: 1 addition & 1 deletion pages/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default function Search({ data }) {
<Page>
<h1 className="text-4xl mb-4 font-bold">Search</h1>

<div className="flex flex-wrap justify-center mb-4">
<div className="flex flex-wrap justify-center space-x-3 mb-4">
{tags &&
tags
.slice(0, 10)
Expand Down

0 comments on commit 9765ba7

Please sign in to comment.