foundation-apps icon indicating copy to clipboard operation
foundation-apps copied to clipboard

Deprecation Warning in default _modal.scss

Open hbroer opened this issue 8 years ago • 0 comments

[15:00:18] DEPRECATION WARNING on line 70 of _modal.scss:
The result of `0px != 0` will be `true` in future releases of Sass.
Unitless numbers will no longer be equal to the same numbers with units.

Maybe can befixed this way:

  @if null == index((0, 0px, none), $border) {
    border: $border;
  }
  @if null == index((0, 0px), $radius) {
    border-radius: $radius;
  }

or by setting default value to

$modal-radius: 0 !default;

hbroer avatar Dec 08 '15 14:12 hbroer