0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fixed table row hover effect in Safari (#21586)

ref DES-951
This commit is contained in:
Sodbileg Gansukh 2024-11-12 10:51:51 +08:00 committed by GitHub
parent 07afa6500d
commit c41bc5c237
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ const TableRow = forwardRef<HTMLTableRowElement, TableRowProps>(function TableRo
separator = (separator === undefined) ? true : separator;
const tableRowClasses = clsx(
'group/table-row relative',
'group/table-row relative transform-gpu [clip-path:inset(0_-16px)]',
bgOnHover && tableRowHoverBgClasses,
onClick && 'cursor-pointer',
separator ? 'border-b border-grey-100 last-of-type:border-b-transparent dark:border-grey-950' : 'border-y border-none first-of-type:hover:border-t-transparent',