http-server
http-server copied to clipboard
Apply default background css for icon
Description
Related to the PR https://github.com/jfhbrook/node-ecstatic/pull/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
Relevant issues
- https://github.com/jfhbrook/node-ecstatic/pull/207
Contributor checklist
- [x] The pull request is being made against the
masterbranch
Maintainer checklist
- [ ] Assign a version triage tag
- [ ] Approve tests if applicable
This pull request has been inactive for 360 days
@github-actions why