Remove 16:9 aspect ratio constraint - fill available viewport space instead
This commit is contained in:
@@ -29,7 +29,7 @@ html, body {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Main App Container - 16:9 aspect ratio for TV */
|
/* Main App Container - fills viewport accounting for browser chrome */
|
||||||
#app {
|
#app {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -40,11 +40,10 @@ html, body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#app > * {
|
#app > * {
|
||||||
aspect-ratio: 16 / 9;
|
width: 100%;
|
||||||
|
height: calc(100vh - 100px);
|
||||||
|
max-width: 100%;
|
||||||
max-height: calc(100vh - 100px);
|
max-height: calc(100vh - 100px);
|
||||||
max-width: 100vw;
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user