Closed (fixed)
Project:
radix
Version:
6.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2024 at 18:35 UTC
Updated:
19 May 2024 at 07:14 UTC
Jump to comment: Most recent
Currently, wrapper with class more-link is currently duplicated when more link is configured for a view:
<div class="more-link">
<div class="more-link"><a class="" href="/smthng">Link text</a></div>
</div>
Which means we probably should remove original wrapper with something like:
function radix_subtheme_preprocess_views_view(&$variables){
$variables['more']['#theme_wrappers'] = [];
}
If it makes sense I can create a MR.
Comments
Comment #2
milos.kroulik commentedComment #4
doxigo commentedThanks for noticing this Milos, I'd like to avoid any preprocess in case that it might break some future changes in core.
for now this is how I got around the issue which fixes the issue and keeps the wrapper as is, not ideal but better than a double wrapper for sure.