- 🇬🇧United Kingdom joachim
AFAICT the media_library.ui route is what provides the content for the media library browser. So I'd have thought that setting this on the route would do it:
options: _admin_route: true
but it has no effect.
Is there something in the routing system which switches the theme in an ajax response?
- 🇬🇧United Kingdom joachim
> But, in that case, this is a duplicate of #3050508: Media library loads front-end theme when invoked from settings tray, correct?
I don't think it is.
If we solve the problem by adding basic styling for the Media Library in media module itself, then the result is that the media library will look OK in all themes. So #3050508: Media library loads front-end theme when invoked from settings tray → will still be an issue for people who want that consistency of theme, but it won't be as much of a problem because it'll be usable.
- First commit to issue fork.
- Merge request !8162Olivero: Media library within Layout Builder modal themed → (Open) created by Unnamed author
- Status changed to Needs review
8 months ago 7:26am 23 May 2024 - Status changed to Needs work
8 months ago 2:05pm 31 May 2024 - 🇺🇸United States smustgrave
Believe issue summary should be updated to include screenshots olivero before/after. Currently showing bartik and gin which aren't in core.
- 🇨🇦Canada SKAUGHT
Bartik (old core) and Gin as contrib are good reminders that this issue is against the media module and should be more toward stark as base module, or media component itself.