views infinite scroll width causes overflow.

Created on 4 September 2020, over 4 years ago
Updated 23 June 2023, almost 2 years ago

Problem/Motivation

when the first load occurs my page styling for 'views-infinite-scroll-content-wrapper' defined in this module is broken.

in my template i set:

.views-infinite-scroll-content-wrapper {
max-width:100% !important;
}

but this is ignored on the first ajax call resulting in undesirable appearance.

Steps to reproduce

install the module.
create a view with enough body text to see the issue
infinite scroll the view.
observe unsightly overflow.

Proposed resolution

i have included the stye block above into \modules\contrib\views_infinite_scroll\templates\views-infinite-scroll-pager.html.twig and it fixes the problem.

Remaining tasks

add styling into the module release to fix permanently.

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Syntapse

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Anybody Porta Westfalica

    Is this still an issue with 2.0.x? If yes, please update the version and set the status active again with clear steps or (best) with a test showing what's broken.

    2.0.x is the active development branch.

    If nobody replies, we should assume this is fixed and close this issue outdated.

    Thanks!

Production build 0.71.5 2024