Topic: [4.5.0] Typo in sass function wreaking havoc
Xeevis pro asked 6 years ago
At the end of file MDB/scss/pro/picker/_default.scss there is a rule
.picker__input.picker__input--active { border-color: magp-get($blue, "lighten-5"); }
It should be map-get, right now compiler produces invalid CSS which my minifier (csso) is refusing to minify.
Instead of
border-color: #e3f2fd;
We get
border-color: magp-get(("lighten-5": #e3f2fd, "lighten-4": #bbdefb, "lighten-3": #90caf9, "lighten-2": #64b5f6, "lighten-1": #42a5f5, "base": #2196f3, "darken-1": #1e88e5, "darken-2": #1976d2, "darken-3": #1565c0, "darken-4": #0d47a1, "accent-1": #82b1ff, "accent-2": #448aff, "accent-3": #2979ff, "accent-4": #2962ff), "lighten-5");
Add comment
Marta Wierzbicka staff answered 6 years ago
Hi,
thanks a lot for noticing this bug and we will fix this in next release. If you can fix this by yourself for your project, it's great. Could you tell me if this bug causes other issues in MDB? If you see anything, of course.
Best,
Marta
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No
Tags