Skip to content

Problems with scrollbar-color #994

@RivenSkaye

Description

@RivenSkaye

scss-lint can at the same time both recognize the proper ordering for scrollbar-color and scrollbar-width, but it also tells me it has no idea what scrollbar-color is and that it's most probably a spelling error. See the attached image for the simultaneous warnings. Reversing the order of them only leaves the PropertySpelling warning.
scrollbar-color on MDN
image

(S)CSS causing the issue:

table {
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 85%;
    min-width: 60%;
    overflow-x: scroll;
    scrollbar-width: thin;
    scrollbar-color: $scrollbarcolor;

    th {
      background-color: $thbg;
      text-align: center;
    }

    tr:nth-child(even) {
      background-color: $theven;
    }

    td,
	th {
      border: 1px solid $tableborder;
      padding: 3px;
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions