Fix max height of video in more info (#25091)

This commit is contained in:
Bram Kragten 2025-04-17 15:27:57 +02:00 committed by GitHub
parent 9fc28e5abb
commit 02a8924f63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,8 +133,8 @@ export class MoreInfoInfo extends LitElement {
[data-domain="camera"] .content {
padding: 0;
/* max height of the video is full screen, minus the height of the header of the dialog and the padding of the dialog (mdc-dialog-max-height: calc(100% - 72px)) */
--video-max-height: calc(100vh - 65px - 72px);
/* max height of the video is full screen, minus the height of the header of the dialog (79px) and the max height of the dialog (mdc-dialog-max-height: calc(100% - 72px)) and the actions bar 60px */
--video-max-height: calc(100vh - 72px - 79px - 60px);
}
more-info-content {