normalize.css icon indicating copy to clipboard operation
normalize.css copied to clipboard

Non-chrome browsers: scrollbar removing padding-bottom

Open comods opened this issue 6 years ago • 0 comments

If you can find a way to fix non-chrome browsers having scrollbars remove container's padding-bottom, then great. If not, then could you please add this fix into your "Extended details and known issues":

/* Fix scrollbar removing padding-bottom */
@supports (-moz-appearance:none) {
  .container::after {
    content: "";
    height: 1px;
    margin: calc(var(--padding) - var(--gap)); /* padding - gap */
  }
}

Also, I have not tested all vendor prefixes and which exact browsers need this fix or not.

comods avatar Dec 18 '18 05:12 comods