mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
feat(releases): action status show filter and client (#338)
* feat(releases): action status show client and filter * feat(releases): add better tooltip
This commit is contained in:
parent
a1ce74761e
commit
31fbe013ff
8 changed files with 106 additions and 46 deletions
15
web/src/components/tooltips/Tooltip.tsx
Normal file
15
web/src/components/tooltips/Tooltip.tsx
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { ReactNode } from "react";
|
||||
|
||||
export const Tooltip = ({ children, button } : {
|
||||
message?: string, children: ReactNode, button: ReactNode
|
||||
}) => {
|
||||
return (
|
||||
<div className="relative flex flex-col items-center group">
|
||||
{button}
|
||||
<div className="absolute bottom-0 flex flex-col items-center hidden mb-6 group-hover:flex">
|
||||
<span className="relative z-40 p-2 text-xs leading-none text-white whitespace-no-wrap bg-gray-600 shadow-lg rounded-md">{children}</span>
|
||||
<div className="w-3 h-3 -mt-2 rotate-45 bg-gray-600"></div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue