http-server icon indicating copy to clipboard operation
http-server copied to clipboard

Apply default background css for icon

Open DRSDavidSoft opened this issue 3 years ago • 4 comments

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

fix-1

Relevant issues

  • https://github.com/jfhbrook/node-ecstatic/pull/207

Contributor checklist

  • [x] The pull request is being made against the master branch

Maintainer checklist

  • [ ] Assign a version triage tag
  • [ ] Approve tests if applicable

DRSDavidSoft avatar Dec 02 '22 22:12 DRSDavidSoft

This pull request has been inactive for 360 days

github-actions[bot] avatar Nov 28 '23 12:11 github-actions[bot]

@github-actions why

DRSDavidSoft avatar Nov 28 '23 13:11 DRSDavidSoft