- Issue created by @sbubaron
- πΊπΈUnited States sbubaron
Created a patch...this is a first time for me so apologies if I didn't do it correctly.
- First commit to issue fork.
- Status changed to Needs review
3 months ago 5:04pm 9 September 2024 - Merge request !67Issue #3471287 by ckng: fixed media library grid thumbnail issue β (Open) created by ckng
- π΅π±Poland krystianbuczak
Those CSS rules have been added in the commit https://git.drupalcode.org/project/mercury_editor/-/commit/448d0b632a2ff... as a kind of override of Claro
claro/media_library.theme
library related somehow with gin_toolbar module. In my opinion Mercury Editor should avoid such dependency assumptions. I would recommend simply remove the override, if this is something crucial, maybe try to style it conditionally in the context of enabled gin_toolbar module or require dependency to gin_toolbar module inmercury_editor.info
file.Temporary workaround is to stop loading the CSS file by adding below override to *.info file in own, custom admin theme:
libraries-override: mercury_editor/claro.media_library.theme: css: theme: build/css/overrides/claro/media-library.css: false
- First commit to issue fork.
- πΊπΈUnited States sethhill
I agree with krystianbuczak in #7. New MR !74 removes the overrides and allows the media library to display as styled by Claro.
I have seen issues when using Mercury with Gin as the admin theme, though. One approach that often resolves these is to explicitly set the Mercury Editor Edit Tray theme to Claro in Mercury Editor settings.
-
sethhill β
committed c805ec8b on 2.1.x
Issue #3471287 by sbubaron, ckng, sethhill: Tiny Media Library Grid...
-
sethhill β
committed c805ec8b on 2.1.x
-
sethhill β
committed c805ec8b on 2.2.x
Issue #3471287 by sbubaron, ckng, sethhill: Tiny Media Library Grid...
-
sethhill β
committed c805ec8b on 2.2.x
- Status changed to Fixed
5 days ago 11:59pm 19 November 2024 Automatically closed - issue fixed for 2 weeks with no activity.