Skip to content

Tooltip z-index is hardcoded instead of using a CSS variable (--z-tooltip) #116

@rohitrath0d

Description

@rohitrath0d

The theme, defines
--z-dropdown: 50 and --z-modal: 200 in 01-theme.css ,

but the tooltip pseudo-elements in tooltip.css uses a hardcoded value, defined as z-index: 1000.
This is resultant of inconsistency with the design system and could potentially be cause layering issues (tooltips always above modals),

although the strict check via showModal() , which is overriding all the possible z-index values, happens to be in place.
it could be more of, using var(--z-tooltip) for making it configurable and consistent, with the codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions