mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-07 10:14:36 +00:00
By adding viewport-fit=cover to the <meta name="viewport"> header, the page now requests to be displayed edge-to-edge across the entire screen. This gives us control over what we display around camera cut-outs and system navigation UI, if the user agent supports it. I then adjusted the styles of various UI elements to ensure that they still lie within the screen's safe area.
23 lines
343 B
CSS
23 lines
343 B
CSS
.bar {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.bar > header {
|
|
position: sticky;
|
|
inset-inline: 0;
|
|
inset-block-start: 0;
|
|
block-size: 64px;
|
|
z-index: var(--call-view-header-footer-layer);
|
|
}
|
|
|
|
.bar svg path {
|
|
fill: var(--cpd-color-icon-primary);
|
|
}
|
|
|
|
.bar > header > h1 {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|