Skip to content

Launcher removes all icons from some apps because css classes are not namespaced #108

@ComLock

Description

@ComLock

When adding launcher/bundle.js which includes launcher.css to app-explorer all icons disappear.

This happens because launcher.css uses a really common class name: .icon

I think this is where the problem is:
https://github.com/enonic/app-admin-home/blob/master/src/main/resources/assets/icons/icons.less#L11

The reason it affects app-explorer is that app-explorer uses semantic-ui which also declares .icon

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions