style: use flex-wrap for tags in mii page
This commit is contained in:
parent
2290c993ef
commit
60cc4d1de9
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ export default async function MiiPage({ params }: Props) {
|
|||
{/* Information */}
|
||||
<div className="flex flex-col gap-1 p-4 col-span-2 max-lg:col-span-1">
|
||||
<h1 className="text-4xl font-extrabold break-words">{mii.name}</h1>
|
||||
<div id="tags" className="flex gap-1 mt-1 *:px-2 *:py-1 *:bg-orange-300 *:rounded-full *:text-xs">
|
||||
<div id="tags" className="flex flex-wrap gap-1 mt-1 *:px-2 *:py-1 *:bg-orange-300 *:rounded-full *:text-xs">
|
||||
{mii.tags.map((tag) => (
|
||||
<Link href={{ pathname: "/", query: { tags: tag } }} key={tag}>
|
||||
{tag}
|
||||
|
|
|
|||
Loading…
Reference in a new issue