Problem/Motivation

typo issue (+ .media-library-content) on media_library component files which causes builds to fail.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork gin-3488027

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ahmad khader created an issue. See original summary.

ahmad khader’s picture

Status: Active » Needs review
djsagar’s picture

Hi @ahmad khader,

I was able to build the file without using the MR, but I might have missed something. Could you please provide more details to replicate the issue?

Thanks!

ahmad khader’s picture

Hi @djsagar,
Thanks for your reply, I'm receiving the following error when I try to build

ERROR in ./themes/gin/scss/components/media_library.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Top-level leading combinators aren't allowed in plain CSS.
    ╷
252 │ + .media-library-content {
    │ ^
    ╵
  ../../../themes/contrib/gin/dist/css/components/media_library.css 252:1  @import
  themes/gin/scss/components/media_library.scss 7:11                       root stylesheet

yarn run v1.22.19

saschaeggi made their first commit to this issue’s fork.

saschaeggi’s picture

Status: Needs review » Fixed

Removed the code as it doesn't seem in any use. Thanks!

Status: Fixed » Closed (fixed)

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