- πΊπΈUnited States rhovland Oregon
Reopening this issue.
Proposed changes still need to be evaluated.
- πΊπΈUnited States rhovland Oregon
Can confirm this is still an issue on the 2.x branch. However, we're now using Claro as the admin theme the reset is based off of so this won't be an issue for claro users, only those using other admin themes.
The css files are attached in the linked function now so the logic to enable or not needs to go there:
https://git.drupalcode.org/project/media_library_theme_reset/-/blob/2.x/... - Merge request !13Disable attaching libraries if current theme is the site admin theme β (Open) created by rhovland
- πΊπΈUnited States rhovland Oregon
Code in 3223947-disable-on-admin now checks if the current theme is set as the site's admin theme and skips adding the libraries if it is. There is no configuration required as it goes off the site's configured admin theme to determine behavior.
Still requires testing to make sure it works.