-
Notifications
You must be signed in to change notification settings - Fork 64
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
Cover whole region - landscape only. #97
Comments
I think a bit of extra information would be helpful, as I'm not sure I understand. -Andrew |
I'm sorry for the really sparse info. Bonus: Here's my setup. Your module made my fantasy about a Google photo digital frame real and got me into MM. Thanks! https://imgur.com/a/NGXxgUX |
I think that would be possible to fix with some custom CSS. Do you need help with getting it sorted out? |
I think this is what you need: #GPHOTO_CURRENT {
background-size:cover;
} |
I used to use that one before but its cropping the portrait photos too much for my liking so I would like to only apply that css to landscape photos.
Huge thanks for your help. Really kind of you.
Vänligen,
Jacob
…On 18 Jan 2021, 23:24 +0100, Christoffer Olofsson ***@***.***>, wrote:
I think this is what you need:
#GPHOTO_CURRENT {
background-size:cover;
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I've tried to make it work with this (https://developer.mozilla.org/en-US/docs/Web/CSS/@media/orientation) but can't get it to work. |
I'm going through all the old open issues. Are you still working on this? I'm thinking the original proposal is the best solution. |
I would like to display landscape photos on the whole region but portrait is working fine.
The text was updated successfully, but these errors were encountered: