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

Option to Not Add "Route Parts" as Class Names #10

Open
kkincade opened this issue Jun 24, 2017 · 1 comment
Open

Option to Not Add "Route Parts" as Class Names #10

kkincade opened this issue Jun 24, 2017 · 1 comment

Comments

@kkincade
Copy link

I want to specifically target the main "index" route. However, if I have another index route (e.g. home/index), the _getRouteDepthClasses() will add "home", "index", and "home-index" to the body. This means I can't specifically target "index" in my SCSS files. I only want it to add "home-index".

In my opinion, this should be the default functionality. At the very least, an environment config option should be added to allow for this.

@mansona
Copy link
Owner

mansona commented Dec 7, 2021

is this still an issue for you? can you create a failing test case that demonstrates the problem?

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

No branches or pull requests

2 participants