ISSUE-004 - Saving progress. Have two options for image display.
BackgroundImage uses <img> and can be centered with VideoFeedFrame, but cannot be shrunk when the window becomes narrow. BackgroundImageDiv uses div and a background image property, but cannot be centered with VideoFeedFrame.
This commit is contained in:
1 parent
2cd683f59d
commit
b4ea27e8c6
8 files changed
+61
-5
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { MockupBlock } from "../../Common/MockupBlock.styled";
|
||||
import VideoFeed from "../VideoFeed/VideoFeed";
|
||||
import { LayoutGrid, LayoutGridItem } from "./styles";
|
||||
|
||||
type LayoutProps = {
|
||||
@@ -16,9 +17,7 @@ export function Layout({ headerHeight }: LayoutProps) {
|
||||
</LayoutGridItem>
|
||||
|
||||
<LayoutGridItem column={2} row={1} columnSpan={5} rowSpan={6} >
|
||||
<MockupBlock
|
||||
color="#c5c5c5"
|
||||
>Video Feed</MockupBlock>
|
||||
<VideoFeed />
|
||||
</LayoutGridItem>
|
||||
|
||||
<LayoutGridItem column={1} row={7} rowSpan={3}>
|
||||
|
||||
Reference in new issue
Block a user