Problem/Motivation

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

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.

Comments

Volodymyr Soloviov created an issue. See original summary.

volodymyr soloviov’s picture

Issue summary: View changes
volodymyr soloviov’s picture

Title: Core off-canvas css files contains scss syntax » Backport postcssPresetEnv and correct the wrong media queries
Issue summary: View changes
volodymyr soloviov’s picture

Status: Needs work » Active
volodymyr soloviov’s picture

Assigned: Unassigned » volodymyr soloviov
volodymyr soloviov’s picture

chi’s picture

Status: Active » Needs review

I cannot reproduce this.

volodymyr soloviov’s picture

Issue summary: View changes
doxigo’s picture

This 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-env package is missing, hence the broken SCSS syntax in a CSS file

chi’s picture

Version: 8.9.x-dev » 9.3.x-dev
chi’s picture

Version: 9.3.x-dev » 8.9.x-dev
chi’s picture

Status: Needs review » Reviewed & tested by the community

That'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.

lauriii’s picture

Priority: Normal » Major

Bumping to major

larowlan’s picture

Version: 8.9.x-dev » 9.1.x-dev
Status: Reviewed & tested by the community » Fixed
Issue tags: +Bug Smash Initiative

Drupal 8.9 is now security fixes only.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.