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

tabBar-tab-active stable CSS class name #4304

Open
oliver-dvorski opened this issue Jul 28, 2023 · 1 comment
Open

tabBar-tab-active stable CSS class name #4304

oliver-dvorski opened this issue Jul 28, 2023 · 1 comment
Labels

Comments

@oliver-dvorski
Copy link
Contributor

According to the docs and this, when a tab in the primary tab list is active, it should receive the class coral-tabBar-tab-active. I'd like to apply custom styles to this class, but they don't get applied to all tabs.

Expected behavior:

  • All tabs should receive the coral-tabBar-tab-active class when selected

Actual behavior:
image

Class list:

  • BaseButton-root-464189d43068742128bd39653c671d89
  • Tab-button-6d68dce02925fd18461776edb2692b7e
  • Tab-streamPrimary-788f1d302542d0297b23c1040eae710a
  • Tab-active-c7162dccdcf7f0eceb82b59dc555281d
  • coral
  • coral-tabBar-tab
  • coral-tabBar-myProfile
  • coral-tabBar-tab-active 👈

image

Class list

  • BaseButton-root-464189d43068742128bd39653c671d89
  • Tab-button-6d68dce02925fd18461776edb2692b7e
  • Tab-streamPrimary-788f1d302542d0297b23c1040eae710a
  • Tab-active-c7162dccdcf7f0eceb82b59dc555281d
  • coral
  • coral-tabBar-tab
  • coral-tabBar-configure
  • TabBar-configureTab-593e079723e5aa1941b6525a59902142

The default CSS works fine because it doesn't depend on this class
image
image

Related Issues:

Versions:

  • Coral: 8.4.2

Thank you very much for your time

@Shubhamsharma585
Copy link

Hi @oliver-dvorski I am a coral user. Have you deployed coral on the sub-directory? Can you please suggest a way to use coral on the sub-dire as

'http://127.0.0.1:5000/${path}' ==> '[http://127.0.0.1:5000/discussions/${path}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants