Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only load _dnn.css when appropriate #15

Open
david-poindexter opened this issue Apr 24, 2022 · 0 comments
Open

Only load _dnn.css when appropriate #15

david-poindexter opened this issue Apr 24, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@david-poindexter
Copy link
Member

Is your feature request related to a problem?

Currently, _dnn.css is imported in styles.css. This means it is always loaded whether it is needed or not.

Describe the solution you'd like

Implement a mechanism to load these base DNN styles conditionally only if they are needed.

Describe alternatives you've considered

n/a

Additional context

This should obviously include administrators and super users, but it would also apply to any user with page or module edit rights.

@david-poindexter david-poindexter added the enhancement New feature or request label Apr 24, 2022
@david-poindexter david-poindexter changed the title Only load _dnn.css when appropriately Only load _dnn.css when appropriate Apr 24, 2022
@david-poindexter david-poindexter self-assigned this Apr 25, 2022
@david-poindexter david-poindexter added this to the 1.0.0 milestone May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant