mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 01:39:13 +00:00
fix(web): tooltips (#519)
fix: fixed broken wrapping in tooltip child elements (missed last letter) enhancement: increased line height for tooltip child cells in case of wrapping for clearer text enhancement: renamed filter rejections from `Filter` to `Rejected` in tooltips chore: changed remaining purple highlights to blue. Co-authored-by: anonymous <anonymous>
This commit is contained in:
parent
547b01a50d
commit
e7222504d6
2 changed files with 6 additions and 6 deletions
|
@ -27,7 +27,7 @@ export const TitleCell = ({ value }: CellProps) => (
|
|||
label={value}
|
||||
maxWidth="max-w-[90vw]"
|
||||
>
|
||||
<span className="whitespace-pre-wrap break-word">
|
||||
<span className="whitespace-pre-wrap break-words">
|
||||
{value}
|
||||
</span>
|
||||
</Tooltip>
|
||||
|
@ -114,10 +114,10 @@ const CellLine = ({ title, children }: { title: string; children?: string; }) =>
|
|||
return null;
|
||||
|
||||
return (
|
||||
<div className="mt-1">
|
||||
<div className="mt-0.5">
|
||||
<span className="font-bold">{title}</span>
|
||||
{": "}
|
||||
<span className="whitespace-pre-wrap break-word leading-4">{children}</span>
|
||||
<span className="whitespace-pre-wrap break-words leading-5">{children}</span>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
@ -142,7 +142,7 @@ export const ReleaseStatusCell = ({ value }: ReleaseStatusCellProps) => (
|
|||
<CellLine title="Filter">{v.filter}</CellLine>
|
||||
<CellLine title="Time">{simplifyDate(v.timestamp)}</CellLine>
|
||||
{v.rejections.length ? (
|
||||
<CellLine title="Filter">
|
||||
<CellLine title="Rejected">
|
||||
{v.rejections.toString()}
|
||||
</CellLine>
|
||||
) : null}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue