Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Shareicons color changing fix in build (purgecss) #1917

Merged
merged 6 commits into from
Oct 9, 2022
Merged

Shareicons color changing fix in build (purgecss) #1917

merged 6 commits into from
Oct 9, 2022

Conversation

RedHeadphone
Copy link
Contributor

@RedHeadphone RedHeadphone commented Oct 7, 2022

Fixes Issue

#1862

Changes proposed

the css applied in src\Components\ShareIcon.js is done using javascript, which purgecss couldn't detect and removed that css from final build. So adding safelist of share class name fixes it and now in build the share icon shows effect on hover

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

image

Note to reviewers

there might be some more cases where some css is getting ignored because of applying css using javascript

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's great having you contribute to this project

Welcome to the community 🤓

If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

@github-actions github-actions bot added the small Pull request with less than 10 changed lines label Oct 7, 2022
Copy link
Member

@EmmaDawsonDev EmmaDawsonDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the md files from your pull request please

Copy link
Member

@EmmaDawsonDev EmmaDawsonDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@kumarsonsoff3 kumarsonsoff3 linked an issue Oct 9, 2022 that may be closed by this pull request
Copy link
Member

@kumarsonsoff3 kumarsonsoff3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good to me! 👍

@EmmaDawsonDev EmmaDawsonDev merged commit 84de04a into EddieHubCommunity:main Oct 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
small Pull request with less than 10 changed lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[OTHER] Shareicons color changing in version 0.76.5
3 participants