Adjust badge styles

This commit is contained in:
Luke Vella 2022-04-14 18:27:23 +01:00
parent 12e2c11ede
commit 9069811286
2 changed files with 2 additions and 6 deletions

View file

@ -44,13 +44,13 @@ const PollSubheader: React.VoidFunctionComponent<PollSubheaderProps> = () => {
&nbsp;
{poll.role === "admin" ? (
poll.verified ? (
<span className="badge border-green-400 bg-green-50 text-green-500">
<span className="cursor-default inline-block border px-1 rounded-lg text-sm border-green-400 bg-green-50 text-green-500">
Verified
</span>
) : (
<Popover
trigger={
<button className="badge transition-colors hover:text-indigo-500 hover:border-slate-300 hover:bg-slate-100 cursor-pointer text-slate-400">
<button className="inline-block border px-2 rounded-lg text-sm hover:shadow-sm transition-colors hover:text-slate-700 hover:bg-white text-slate-400 active:bg-gray-100">
Unverified
</button>
}

View file

@ -105,10 +105,6 @@
@apply text-indigo-500;
}
.badge {
@apply cursor-default inline-block border px-1 rounded-lg text-sm;
}
.menu {
@apply relative;
}