Pageable icon indicating copy to clipboard operation
Pageable copied to clipboard

chrome horizontal scroll on pg-wrapper when box-sizing: border-box;

Open piotrku opened this issue 6 years ago • 0 comments

There's a problem on Chrome Version 75.0.3770.142 (Official Build) (64-bit) / Wiindows10.

When pg-wrapper element has box-sizing: border-box; which I have because of globally applying css reset (including) border-box setting to all elements, horizontal scroll appears (and stays) on pg-wrapper after the script init, overwriting this setting by:

.pg-wrapper {
  box-sizing: content-box;
}

solves the issue. This problem appears only on Chrome.

piotrku avatar Aug 01 '19 14:08 piotrku