0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Fixed z-index issue of sorting dropdown and hidden comments (#21793)

REF
https://linear.app/ghost/issue/PLG-292/sorting-dropdown-z-index-issue-with-hidden-comments
- The dropdown would appear behind hidden comments
This commit is contained in:
Sanne de Vries 2024-12-03 18:04:00 +01:00 committed by GitHub
parent 99d5dea877
commit 4fa929e1c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,7 @@ export const SortingForm: React.FC = () => {
}; };
return ( return (
<div ref={dropdownRef} className="relative" data-testid="comments-sorting-form" onClick={stopPropagation}> <div ref={dropdownRef} className="relative z-20" data-testid="comments-sorting-form" onClick={stopPropagation}>
<button <button
className="flex w-full items-center justify-between gap-2 text-sm font-medium text-neutral-900 focus-visible:outline-none dark:text-neutral-100" className="flex w-full items-center justify-between gap-2 text-sm font-medium text-neutral-900 focus-visible:outline-none dark:text-neutral-100"
type="button" type="button"