Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render <turbo-cable-stream-source> as display: none #557

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seanpdoyle
Copy link
Contributor

Since the <turbo-cable-stream-source> is a Custom Element, it has a default style: property of display: inline. As a visible element, it participates in the page's layout.

This commit changes the element to always be display: none so that it no longer participates in the layout.

Since the `<turbo-cable-stream-source>` is a Custom Element, it has a
default `style:` property of `display: inline`. As a visible element, it
participates in the page's layout.

This commit changes the element to always be `display: none` so that it
no longer participates in the layout.
@jordan-brough
Copy link

We ran into this also. I've opened a github issue for the topic here: #643

Would be great to see this or some other solution implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants