Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

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

Open
piotrku opened this issue Aug 1, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@piotrku
Copy link

piotrku commented Aug 1, 2019

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.

@Mobius1 Mobius1 added the bug Something isn't working label Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants