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

Apply default background css for icon #842

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DRSDavidSoft
Copy link

Description

Related to the PR jfhbrook/node-ecstatic#207 that I made back in 2017

This commit will set the attribute background-repeat: no-repeat center which will prevent the icon in the element from being repeated if the size is larger than the actual file size

This is due to differences in some browser installations and/or extensions and without having the no-repeat attribute, it'll look very ugly.

Preview

fix-1

Relevant issues

Contributor checklist

  • The pull request is being made against the master branch

Maintainer checklist

  • Assign a version triage tag
  • Approve tests if applicable

Copy link

This pull request has been inactive for 360 days

@github-actions github-actions bot added the stale label Nov 28, 2023
@DRSDavidSoft
Copy link
Author

@github-actions why

@github-actions github-actions bot removed the stale label Nov 29, 2023
Copy link

This pull request has been inactive for 360 days

@github-actions github-actions bot added the stale label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant