We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Maybe it's just me, but I'm unable to do this (an any other styling via "class" or "svg" selector... Is this a bug?
(My setup is with routify).
<style> .some-class { position: absolute; right: 0; } </style> <Fa class="some-class" icon={faFlag} />
The text was updated successfully, but these errors were encountered:
Try apply your style globally with :global() like this:
:global()
:global(.some-class) { position: absolute; right: 0; }
Here is the issue.
Sorry, something went wrong.
Try apply your style globally with :global() like this: :global(.some-class) { position: absolute; right: 0; } Here is the issue.
this trick works thank you very much
Question related to this topic regarding the usage of BEM.
Is there another solution to this?
<div class="block"> <Fa icon={someIcon} class="block__element" /> </div>
Doesn't work:
.block { position: relative; &__element { position: absolute; right: 0; &--modifier { right: 10%; } } }
Only Solution(?):
.block { position: relative; } :global(.block__element) { position: absolute; right: 0; } :global(.block__element--modifier) { right: 10%; }
No branches or pull requests
Maybe it's just me, but I'm unable to do this (an any other styling via "class" or "svg" selector... Is this a bug?
(My setup is with routify).
The text was updated successfully, but these errors were encountered: