You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
With the BEM naming for base MDC elements, class names can become long very quickly, mdc-list-item__secondary-text for instance. I was thinking about using CSS modules to shorten such names, but according to rmwc/rmwc#113, it looks like it is not (easily) possible to do so without breaking some components which have event listeners attached (elements with a ripple effect for instance or menus).
Could someone please confirm or deny this?
The text was updated successfully, but these errors were encountered:
It is a little difficult if you're using create-react-app. Is that the tool you're using? It is possible, but there are several steps you need to take. To start you need to run yarn eject.
Hello,
With the BEM naming for base MDC elements, class names can become long very quickly,
mdc-list-item__secondary-text
for instance. I was thinking about using CSS modules to shorten such names, but according to rmwc/rmwc#113, it looks like it is not (easily) possible to do so without breaking some components which have event listeners attached (elements with a ripple effect for instance or menus).Could someone please confirm or deny this?
The text was updated successfully, but these errors were encountered: