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
<button type="button" class="pt-button pt-skeleton pt-icon-cog" tabindex="-1">Submit</button>
diff --git packages/core/src/components/skeleton/_skeleton.scss packages/core/src/components/skeleton/_skeleton.scss index 1b44d320..1d64f8aa 100644 --- packages/core/src/components/skeleton/_skeleton.scss +++ packages/core/src/components/skeleton/_skeleton.scss @@ -52,5 +52,16 @@ Styleguide pt-skeleton animation: $skeleton-animation; pointer-events: none; user-select: none; + + // hide icon font icons + &[class*="pt-icon-"]::before, + [class*="pt-icon-"]::before { + color: transparent !important; + } + + // hide SVG icons + * { + visibility: hidden !important; + } } /* stylelint-enable declaration-no-important */
Happy to submit a PR.
The text was updated successfully, but these errors were encountered:
@univerio we'd gladly take a PR for this. Thank you!
Sorry, something went wrong.
[core] Hide nested content for .pt-skeleton, e.g. icons. (Fixes palan…
d0a69dc
…tir#2176)
e65f837
univerio
No branches or pull requests
Bug report
Steps to reproduce
Actual behavior
Expected behavior
Proposed patch
Happy to submit a PR.
The text was updated successfully, but these errors were encountered: