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

fix: Fixed issue#5828 Updated UI of the Search bar #5829

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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