🔧 fix: Update Z-index values for Navigation and Mask layers (#11375)
Some checks failed
Docker Dev Images Build / build (Dockerfile, librechat-dev, node) (push) Waiting to run
Docker Dev Images Build / build (Dockerfile.multi, librechat-dev-api, api-build) (push) Waiting to run
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
Docker Dev Branch Images Build / build (Dockerfile, lc-dev, node) (push) Has been cancelled
Docker Dev Branch Images Build / build (Dockerfile.multi, lc-dev-api, api-build) (push) Has been cancelled

* 🔧 fix: Update z-index values for navigation and mask layers in mobile view

- Increased z-index of the .nav-mask class from 63 to 105 for improved layering.
- Updated z-index of the nav component from 70 to 110 to ensure it appears above other elements.

* 🔧 fix: Adjust z-index for navigation component in mobile view

- Updated the z-index of the .nav class from 64 to 110 to ensure proper layering above other elements.

* 🔧 fix: Standardize z-index values across conversation and navigation components

- Updated z-index to 125 for various components including ConvoOptions, AccountSettings, BookmarkNav, and FavoriteItem to ensure consistent layering and visibility across the application.
This commit is contained in:
Danny Avila 2026-01-16 17:45:18 -05:00 committed by GitHub
parent 02d75b24a4
commit f7893d9507
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 7 additions and 5 deletions

View file

@ -294,6 +294,7 @@ function ConvoOptions({
portal={true}
menuId={menuId}
focusLoop={true}
className="z-[125]"
unmountOnHide={true}
isOpen={isPopoverActive}
setIsOpen={setIsPopoverActive}
@ -321,7 +322,6 @@ function ConvoOptions({
</Ariakit.MenuButton>
}
items={dropdownItems}
className="z-30"
/>
{showShareDialog && (
<ShareButton

View file

@ -40,7 +40,7 @@ function AccountSettings() {
</div>
</Select.Select>
<Select.SelectPopover
className="popover-ui w-[305px] rounded-lg md:w-[244px]"
className="popover-ui z-[125] w-[305px] rounded-lg md:w-[244px]"
style={{
transformOrigin: 'bottom',
translate: '0 -4px',

View file

@ -89,6 +89,7 @@ const BookmarkNav: FC<BookmarkNavProps> = ({ tags, setTags }: BookmarkNavProps)
unmountOnHide={true}
setIsOpen={setIsMenuOpen}
keyPrefix="bookmark-nav-"
className="z-[125]"
trigger={
<TooltipAnchor
description={label}

View file

@ -136,6 +136,7 @@ export default function FavoriteItem({
mountByState={true}
isOpen={isPopoverActive}
setIsOpen={setIsPopoverActive}
className="z-[125]"
trigger={
<Menu.MenuButton
className={cn(

View file

@ -262,7 +262,7 @@ const Nav = memo(
<div
data-testid="nav"
className={cn(
'nav fixed left-0 top-0 z-[70] h-full bg-surface-primary-alt',
'nav fixed left-0 top-0 z-[110] h-full bg-surface-primary-alt',
navVisible && 'active',
)}
style={{

View file

@ -9,7 +9,7 @@
.nav {
position: fixed;
z-index: 64;
z-index: 110;
top: 0;
/* max-width: 260px; */
@ -36,7 +36,7 @@
}
.nav-mask {
position: fixed;
z-index: 63;
z-index: 105;
left: 0;
right: 0;
top: 0;