Esteban-Rocha / page-ruler-redux

An awesome page ruler extension for google chrome
https://chrome.google.com/webstore/detail/page-ruler-redux/giejhjebcalaheckengmchjekofhhmal
BSD 3-Clause "New" or "Revised" License
110 stars 39 forks source link

background-image from "body > div" also ruler #26

Open dwengs opened 4 years ago

dwengs commented 4 years ago

If a web page has this kind of css:

body > div {
  background-image: url(...);
}

Ruler uses this background-image for its background since its also a direct child of body. a simple

#page-ruler {
  background-image: none;
}

seems to solve this problem.