mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 10:16:32 +02:00
Adjust badge styles
This commit is contained in:
parent
12e2c11ede
commit
9069811286
2 changed files with 2 additions and 6 deletions
|
@ -44,13 +44,13 @@ const PollSubheader: React.VoidFunctionComponent<PollSubheaderProps> = () => {
|
|||
|
||||
{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>
|
||||
}
|
||||
|
|
|
@ -105,10 +105,6 @@
|
|||
@apply text-indigo-500;
|
||||
}
|
||||
|
||||
.badge {
|
||||
@apply cursor-default inline-block border px-1 rounded-lg text-sm;
|
||||
}
|
||||
|
||||
.menu {
|
||||
@apply relative;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue