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

card disordered #36

Open
tempo3 opened this issue Oct 6, 2020 · 16 comments
Open

card disordered #36

tempo3 opened this issue Oct 6, 2020 · 16 comments

Comments

@tempo3
Copy link

tempo3 commented Oct 6, 2020

Hello, the style of the card looks disordered (see attachment). The installation was done via HACS. The functionality is given as described, only the look is not as expected. This problem occurs in the browser, in the app, on iphone, ipad, on Mac as well as on windows ...

image

@Kedryn
Copy link

Kedryn commented Oct 9, 2020

For me too, but in a different way
image

@niemyjski
Copy link
Collaborator

What do you mean by disordered? I think we sort them by the last motion.

@Kedryn
Copy link

Kedryn commented Oct 22, 2020

I think he meant that the active camera streaming is too low on the right, leaving a lot of space on the top.
For me, both camera list and camera streaming are too right, starting in the middle, wasting half screen of space and putting scroll bars on bottom

@niemyjski
Copy link
Collaborator

niemyjski commented Oct 22, 2020 via email

@tempo3
Copy link
Author

tempo3 commented Oct 22, 2020

hi, same here. When I pull the browser window wider, the camera picture is somewhere in the middle. In other words, the cam picture is not where it should be according to the description. sorry - what does pr mean?

@niemyjski
Copy link
Collaborator

Thanks for the additional information. It means Pull request.

@fefris
Copy link

fefris commented Jul 18, 2021

assume this has been abandoned as a project? Given this is issue is still open and not resolved. Just installed this via hacs and have the same distortion.

@niemyjski
Copy link
Collaborator

Feel free to submit a pr with a fix and we'll merge it. I haven't ran into this issue....

@niemyjski
Copy link
Collaborator

Has anyone seen this issue in the latest releases? Have you been able to fix it if so?

@Cagiva-Raptor
Copy link

Cagiva-Raptor commented Oct 14, 2022

For me too, but in a different way image

I experience the same, for me it is because the style for the class column has a max-width of 500px.

can be fixed by altering this:
.column {
flex: 1 0 0px;
max-width: 2000px; /* instead of 500px */
min-width: 0px;
}

or

#columns {
display: flex;
flex-direction: column-reverse; /* instead of row */
justify-content: center;
margin-left: 4px;
margin-right: 4px;
}

@niemyjski
Copy link
Collaborator

I think the flexbox change makes the most sense, any chance for a pr for this? Thanks again for following up with solutions / more info.

@Iceman248
Copy link

Where does the below code go?

`can be fixed by altering this:
.column {
flex: 1 0 0px;
max-width: 2000px; /* instead of 500px */
min-width: 0px;
}

or

#columns {
display: flex;
flex-direction: column-reverse; /* instead of row */
justify-content: center;
margin-left: 4px;
margin-right: 4px;
}`

@Cagiva-Raptor
Copy link

Where does the below code go?

`can be fixed by altering this: .column { flex: 1 0 0px; max-width: 2000px; /* instead of 500px */ min-width: 0px; }

or

#columns { display: flex; flex-direction: column-reverse; /* instead of row */ justify-content: center; margin-left: 4px; margin-right: 4px; }`

In a custom css file

@niemyjski
Copy link
Collaborator

Can one of you please test this out and create a pr for this.

@Iceman248
Copy link

Iceman248 commented Jun 27, 2023

.column {
flex: 1 0 0px;
max-width: 2000px; /* instead of 500px */
min-width: 0px;
}

How do you put it in there? What goes after this?

card_mod:

I put it in like this, didn't do anything.

card_mod:
style: |
ha-card {
display: flex;
flex-direction: column-reverse;
justify-content: center;
margin-left: 4px;
margin-right: 4px;
}

@niemyjski
Copy link
Collaborator

@Iceman248 I don't think they were putting this in card_mod but directly in the components source.

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

No branches or pull requests

6 participants