- Affected Version
- WoltLab Suite 5.3
- Affected App
- WoltLab Suite Core
The @if rule in SCSS cannot accept <, <=, >, and >= if the value has percent unit.
These declarations are accepted:
== with % unit:
<, <=, >, and >= with px unit:
However, the code below will result to an error:
The SCSS code contains an error: Could not compile SCSS: Incompatible units % and px.: line: 201, column: 2.
<, <=, >, and >= with % unit: