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");
Marta Wierzbicka staff answered 6 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No