Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Tabs text display on top of the navbar #2625

Closed
1 of 3 tasks
alexwhitmore opened this issue Jul 2, 2024 · 1 comment · Fixed by #2676
Closed
1 of 3 tasks

Code Tabs text display on top of the navbar #2625

alexwhitmore opened this issue Jul 2, 2024 · 1 comment · Fixed by #2676
Assignees

Comments

@alexwhitmore
Copy link

alexwhitmore commented Jul 2, 2024

Description

In every page with a code block that has code-tabs, the text within the tabs will display over the navbar as opposed to under, considering it's a fixed header.

Dark mode:

Screenshot 2024-07-02 at 5 15 47 PM

Light mode:

Screenshot 2024-07-02 at 5 15 54 PM

Link to Reproduction (or Detailed Explanation)

N/A

Steps to Reproduce

No reproduction required, this is default behavior on the ArkUI documentation site.

Ark UI Version

Lateset

Framework

  • React
  • Solid
  • Vue

Browser

Chrome & Safari

Additional Information

I assume this is not expected behavior of the code tabs. I have cloned the project locally, and tested out a fix as I am willing to submit a pull request!

@carwack
Copy link
Collaborator

carwack commented Jul 19, 2024

Thanks for noticing.
Looked like the z-index for both components was set to '1' which seems to create this bug.
Created a PR to fix this. #2676

@carwack carwack self-assigned this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants