Problem/Motivation
Core css files contains scss syntax which does not work in browser

Steps to reproduce
Open css files:
1) core/themes/stable/css/core/dialog/off-canvas.base.css
2) core/themes/stable/css/core/dialog/off-canvas.reset.css
3) misc/dialog/off-canvas.base.css
4) misc/dialog/off-canvas.reset.css
Proposed resolution
Fix syntax errors in files that have problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | drupal_offcanvas-sass-syntax-compiling-issue_3215183.patch | 43.31 KB | volodymyr soloviov |
| Screen Shot 2021-05-21 at 5.13.21 PM.png | 102.32 KB | volodymyr soloviov |
Comments
Comment #2
volodymyr soloviov commentedComment #3
volodymyr soloviov commentedComment #4
volodymyr soloviov commentedComment #5
volodymyr soloviov commentedComment #6
volodymyr soloviov commentedComment #7
chi commentedI cannot reproduce this.
Comment #8
volodymyr soloviov commentedComment #9
doxigo commentedThis is fixed in 9.3.x as far as I checked, but needs to be fixed in 8.9.x as well, the
postcss-preset-envpackage is missing, hence the broken SCSS syntax in a CSS fileComment #10
chi commentedComment #11
chi commentedComment #12
chi commentedThat's not an issue in 9.x because PostCSS Preset Env was added to 9.x long time ago (#3170864: Add postcss-preset-env).
The patch looks good to me.
Comment #13
lauriiiBumping to major
Comment #14
larowlanDrupal 8.9 is now security fixes only.