mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-14 07:43:25 +01:00
[PR #262] [MERGED] Fix GraphQL doc explorer CountBadge stacking order #188
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/262
Author: @kiendang
Created: 10/7/2025
Status: ✅ Merged
Merged: 10/18/2025
Merged by: @gschier
Base:
main← Head:fix-graphql-explorer-count-badge📝 Commits (1)
0a9c704Fix GraphQL doc explorer CountBadge stacking order📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src-web/components/graphql/GraphQLDocsExplorer.tsx(+1 -1)📄 Description
Fix the issue where the GraphQL doc explorer CountBadge appearing over the search dropdown menu
Reproduction
https://graphql.org/graphql/with the queryThe All Schema Types CountBadge would appear over the Search dropdown.

This is due to the CountBadge has opacity < 1, set by
opacity-70485a9ea47c/src-web/components/core/CountBadge.tsx (L16)This creates a new stacking context, making it drawn over the
navchildren. To check, removeopacity-70, the CountBadge would disappear under the dropdown menu.Adding
z-10to thenavfixes this while keepingopacity-70for the CountBadge.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.