File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 11import useWindowManagerStore from "../../stores/windowManagerStore" ;
22
3- import "./Content.scss " ;
3+ import { StyledContainer , StyledContent } from "./Styled.Content " ;
44
55interface ContentProps { }
66
@@ -9,17 +9,17 @@ function Content({}: ContentProps) {
99 const winMan = useWindowManagerStore ( ) ;
1010
1111 return (
12- < div id = "content__container" >
13- < div id = "content" ref = { winMan . contentRef } >
12+ < StyledContainer id = "content__container" >
13+ < StyledContent id = "content" ref = { winMan . contentRef } >
1414 { winMan . getWindowDefinitions ( ) . map ( ( definition ) => {
1515 return (
1616 < definition . component { ...definition . props } key = { definition . key } >
1717 { definition . children }
1818 </ definition . component >
1919 ) ;
2020 } ) }
21- </ div >
22- </ div >
21+ </ StyledContent >
22+ </ StyledContainer >
2323 ) ;
2424}
2525
Original file line number Diff line number Diff line change 1+ import styled from "@emotion/styled" ;
2+
3+ export const StyledContainer = styled . div `
4+ box-sizing: border-box;
5+ width: 100%;
6+ height: 100%;
7+ padding: 0 10px;
8+ ` ;
9+
10+ export const StyledContent = styled . div `
11+ border-radius: 15px;
12+ width: 100%;
13+ height: 100%;
14+ ` ;
You can’t perform that action at this time.
0 commit comments