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

Styling doesn't work: Styles doesn't apply when extending the c4d-link-with-icon #11689

Open
2 tasks done
abdalazizrashid opened this issue Apr 2, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working dev Needs some dev work

Comments

@abdalazizrashid
Copy link

Description

  • The css selector .bx--link-with-icon doesn't seem to match, but such selectors .cds--link:visited seems to work. Maybe the documentation is outdated?
  • Styles doesn't apply on the slotted component namely the icon seems to lose the margins
image

Component(s) impacted

So far I've only tested C4DLinkWithIcon

Browser

Chrome, Microsoft Edge

Carbon for IBM.com version

v2.5.0

Severity

Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.

Application/website

local

Package

@carbon/ibmdotcom-web-components, @carbon/web-components

CodeSandbox example

https://stackblitz.com/edit/github-6kzcu3-kcyxtw?file=src%2Findex.js

Steps to reproduce the issue (if applicable)

https://github.com/carbon-design-system/carbon-for-ibm-dotcom/tree/3943c96ddd78990d5d7a90263fb927f43707b3c6/packages/web-components#using-custom-styles-in-components

Release date (if applicable)

No response

Code of Conduct

@abdalazizrashid abdalazizrashid added bug Something isn't working dev Needs some dev work labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev Needs some dev work
Projects
Status: No status
Development

No branches or pull requests

1 participant