Merge pull request #2531 from robintown/iterate-margins
Add back some margins to the interface
This commit is contained in:
@@ -40,7 +40,8 @@ limitations under the License.
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
inline-size: 404px;
|
inline-size: 404px;
|
||||||
block-size: 233px;
|
block-size: 233px;
|
||||||
inset: 0;
|
inset-block: 0;
|
||||||
|
inset-inline: var(--cpd-space-3x);
|
||||||
}
|
}
|
||||||
|
|
||||||
.fixed > .slot[data-block-alignment="start"] {
|
.fixed > .slot[data-block-alignment="start"] {
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ limitations under the License.
|
|||||||
|
|
||||||
.header {
|
.header {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
flex-shrink: 0;
|
||||||
inset-block-start: 0;
|
inset-block-start: 0;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
@@ -58,6 +59,11 @@ limitations under the License.
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header.filler {
|
||||||
|
block-size: var(--cpd-space-6x);
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
inset-block-end: 0;
|
inset-block-end: 0;
|
||||||
|
|||||||
@@ -496,7 +496,16 @@ export const InCallView: FC<InCallViewProps> = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.inRoom} ref={containerRef}>
|
<div className={styles.inRoom} ref={containerRef}>
|
||||||
{!hideHeader && windowMode !== "pip" && windowMode !== "flat" && (
|
{windowMode !== "pip" &&
|
||||||
|
windowMode !== "flat" &&
|
||||||
|
(hideHeader ? (
|
||||||
|
// Cosmetic header to fill out space while still affecting the bounds
|
||||||
|
// of the grid
|
||||||
|
<div
|
||||||
|
className={classNames(styles.header, styles.filler)}
|
||||||
|
ref={headerRef}
|
||||||
|
/>
|
||||||
|
) : (
|
||||||
<Header className={styles.header} ref={headerRef}>
|
<Header className={styles.header} ref={headerRef}>
|
||||||
<LeftNav>
|
<LeftNav>
|
||||||
<RoomHeaderInfo
|
<RoomHeaderInfo
|
||||||
@@ -513,7 +522,7 @@ export const InCallView: FC<InCallViewProps> = ({
|
|||||||
)}
|
)}
|
||||||
</RightNav>
|
</RightNav>
|
||||||
</Header>
|
</Header>
|
||||||
)}
|
))}
|
||||||
<RoomAudioRenderer />
|
<RoomAudioRenderer />
|
||||||
{renderContent()}
|
{renderContent()}
|
||||||
{footer}
|
{footer}
|
||||||
|
|||||||
Reference in New Issue
Block a user