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

milos.kroulik created an issue. See original summary.

milos.kroulik’s picture

Issue summary: View changes

  • doxigo committed 3e3e2ffe on 6.0.x
    Issue #3443293 by milos.kroulik: Wrapper with more-link class is...
doxigo’s picture

Status: Active » Fixed

Thanks 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.