mdbootstrap / material-design-for-bootstrap

Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
https://mdbootstrap.com/docs/standard/
MIT License
9.34k stars 1.15k forks source link

Directory path for arrows pushed one down since version 4.5.6, but why? #179

Closed Folaht closed 5 years ago

Folaht commented 6 years ago

Expected behavior

No errors.

Actual behavior

Blank screen with two errors about missing arrows. Left and right.

Your working environment and MDB version information

Resources (screenshots, code snippets etc.)

ERROR in ./node_modules/css-loader??ref--2-1!./node_modules/mdbootstrap/css/mdb.css
Module not found: Error: Can't resolve '../../img//svg/arrow_left.svg' in '/home/folatt/Cloud/workspace/atom/Sites/Yropeên/node_modules/mdbootstrap/css'
 @ ./node_modules/css-loader??ref--2-1!./node_modules/mdbootstrap/css/mdb.css 7:240646-240686
 @ ./node_modules/mdbootstrap/css/mdb.css
 @ ./src/index.js
 @ multi (webpack)-dev-server/client?http://localhost:5000 (webpack)/hot/dev-server.js ./src/index
pglejzer commented 6 years ago

Hi, my name is Piotr and I'm from MDB staff. We will think about that bug. Can you check this fix? You have to go to your _variables.scss at pro folder. And change

$pswpbutton-background: url(#{$image-path1}/lightbox/default-skin.png) !default; $pswpbutton-background-image: url(#{$image-path1}/lightbox/default-skin.svg) !default; $pswppreloadericn-background: url(#{$image-path1}/lightbox/preloader.gif) !default;

Best, Piotr

Folaht commented 6 years ago

There are two _variables.scss files, one in core and one in core/bootstrap and neither of them I kind find similar lines like yours.

Best, Folatt

Martussky commented 6 years ago

Hi, we've fixed this issue and it will be contained in our package after release which will be 14.08. Best, Marta