Skip to content

Push via trmnlp wraps layout #217

@bnussbau

Description

@bnussbau

Hi @bnussbau,
You can reproduce the issue with https://github.com/depau/trmnl-atm-milano, you can use 11503 as a stop number.

I'm noticing something's automatically wrapping my code with <div class="view ..."> when I push it with trmnlp push, and that's quite annoying because it breaks recipes that have their own view inside.

Removing it from the web UI works, and that somehow restores functionality except for the fact I have to wrap everything into a h--full div otherwise weird stuff happens.

With the changes in this branch https://github.com/depau/trmnl-atm-milano/tree/test-fix things are now being rendered again with the env var unset, but the widget still doesn't fully occupy the full height of the half screen:

Image

As you can see the border is also missing, and the bottom widget's titlebar is off-screen.

I'm really not sure what's going on, is there some way to get a DOM inspector in the browser where the image is rendered? trmnlp serve must work in a different way because my recipes work fine on it.

Originally posted by @depau in #149

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions