Skip to content

Fix issue where long states do not wrap#4101

Merged
bramkragten merged 1 commit into
home-assistant:devfrom
pdong:bug/fix-state-not-wrapping
Oct 22, 2019
Merged

Fix issue where long states do not wrap#4101
bramkragten merged 1 commit into
home-assistant:devfrom
pdong:bug/fix-state-not-wrapping

Conversation

@pdong
Copy link
Copy Markdown
Contributor

@pdong pdong commented Oct 22, 2019

This resolves #4099

Note: In instances where there is a measurement it looks like we are preventing wrapping from happening

        .state.has-unit_of_measurement {
          white-space: nowrap;
        }

This doesn't seem like a big deal in most instances but worth noting. This seemed pretty intentional so I didn't change it.

This PR fixes the instance where state text w/ no unit of measurement is long breaking out of the more info modal.

image

@bramkragten bramkragten merged commit b0fce93 into home-assistant:dev Oct 22, 2019
@bramkragten bramkragten mentioned this pull request Oct 23, 2019
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long states don't wrap, appear outside of more-info dialogs

3 participants