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

item_class not effective for link rendered in summary #98

Open
kikonen opened this issue Dec 9, 2020 · 1 comment
Open

item_class not effective for link rendered in summary #98

kikonen opened this issue Dec 9, 2020 · 1 comment
Labels
bug Something isn't working low

Comments

@kikonen
Copy link
Owner

kikonen commented Dec 9, 2020

Example,

<span class="text-danger ss-summary-item-single"><a class="ss-item-link" href="/xxx" target="_blank" tabindex="-1">xxx</a> </span>

link does not appear as "text-danger" due to class priorities.

Q: Is this problem of caller or this widget?

@kikonen kikonen added bug Something isn't working low labels Dec 9, 2020
@kikonen
Copy link
Owner Author

kikonen commented Dec 9, 2020

Would say it's caller problem

Something like this should enforce color if needed

.ss-summary-item-single.text-danger {
  a {
    color: $danger;
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low
Projects
None yet
Development

No branches or pull requests

1 participant