Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation Using / for division outside of calc() #834

Open
albinlang opened this issue Sep 12, 2023 · 0 comments
Open

Deprecation Using / for division outside of calc() #834

albinlang opened this issue Sep 12, 2023 · 0 comments

Comments

@albinlang
Copy link

Issue description:
On row 124 & 136 in tiny-slider.scss there's / for division outside calc()
I guess those two lines should be removed since they're correct on line 127 & 139.

  &-ct {
    width: (100% * $count / $perpage);
    width: -webkit-calc(100% * #{$count} / #{$perpage});
    width: -moz-calc(100% * #{$count} / #{$perpage});
    width: calc(100% * #{$count} / #{$perpage});
    position: absolute;
    right: 0;
    &:after {
      content: '';
      display: table;
      clear: both;
    }
    > div {
      width: (100% / $count);
      width: -webkit-calc(100% / #{$count});
      width: -moz-calc(100% / #{$count});
      width: calc(100% / #{$count});
      height: $height;
      float: left;
    }
  }

Tiny-slider version:
^2.9.4

Browser name && version:
Edge, Chrome, Firefox all latest stable

OS name && version:
Win 11, Mac OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant