Topic: SCSS with different behavior between versions
allancmello
premium
asked 1 week ago
Expected hover not to change to components.
Hover being displayed outside of MDB/Angular standard
The code was thoroughly inspected, and the only difference is in the SCSS declaration that changed, I even followed the solution indicated by MDB support. Here -> https://mdbootstrap.com/support/angular/mdb-uses-the-legacy-import-syntax-in-angular-19-instead-use-syntax/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 8.0.0
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 1 week ago
The changes you made in
angular.json
should not affect the styles in any way. These settings are only used to silence the warnings with information about the import syntax deprecation.Do you use exactly the same syntax in both versions of the app? The import syntax is now marked as deprecated but it is still valid and you should use it to add MDB styles.
There must be a difference in the styles of those two buttons when you inspect both elements in the browser dev tools. Could you please check that and provide some more information about the problem?