mirror of
https://github.com/Xevion/dynamic-preauth.git
synced 2025-12-06 01:14:55 -06:00
Fix minor react/badge issues
This commit is contained in:
@@ -18,7 +18,7 @@ const Badge = ({
|
|||||||
<span
|
<span
|
||||||
id="badge-dismiss-dark"
|
id="badge-dismiss-dark"
|
||||||
className={cn(
|
className={cn(
|
||||||
"inline-flex align-middle items-center px-2 py-1 me-2 text-sm leading-none font-medium text-zinc-800 bg-zinc-100 rounded dark:bg-zinc-700 dark:text-zinc-300",
|
"inline-flex align-middle items-center px-2 py-2 text-sm leading-none font-medium rounded bg-zinc-700 text-zinc-300",
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
@@ -26,8 +26,7 @@ const Badge = ({
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
className="inline-flex items-center ms-1 text-sm text-zinc-400 bg-transparent rounded-sm hover:bg-zinc-200 hover:text-zinc-900 dark:hover:bg-zinc-600 dark:hover:text-zinc-300"
|
className="inline-flex zitems-center ms-1 text-sm text-zinc-400 bg-transparent rounded-sm hover:bg-zinc-600 hover:text-zinc-300"
|
||||||
data-dismiss-target="#badge-dismiss-dark"
|
|
||||||
aria-label="Remove"
|
aria-label="Remove"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
@@ -38,9 +37,9 @@ const Badge = ({
|
|||||||
>
|
>
|
||||||
<path
|
<path
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
stroke-linecap="round"
|
strokeLinecap="round"
|
||||||
stroke-linejoin="round"
|
strokeLinejoin="round"
|
||||||
stroke-width="2"
|
strokeWidth="2"
|
||||||
d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
|
d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
Reference in New Issue
Block a user