Skip to content

Make action logs scrollable. #8680

@davidbeig

Description

@davidbeig

Description

When going through the logs of an action, I find myself scrolling to the top of the log to then be able to scroll to the top of the page. For really long logs it's something frustrating.

I have used other add-ons that allow to keep CSS styles applied to the github domain to fix this, but it might be interesting for you, so I'm sharing it. Basically, my prefered fix is:

#logs { 
    max-height: 100vh; 
    overflow-y: scroll; 
}

This allows us to keep the scroll at the page level, and then another for the log container. Also, it sets the max-height to the full vh so we are not loosing any space. It might be applicable to other places, and we have to make sure that #logs is not used in any other view, but i lack that level of knowledge on their views.

I could work on the PR myself.

Example URLs

https://github.com/decidim/decidim/actions/runs/17830331242/job/50693377297

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions