diff --git a/ReactLearning/kanban-board/src/App.css b/ReactLearning/kanban-board/src/App.css index 97de893..a2e724a 100644 --- a/ReactLearning/kanban-board/src/App.css +++ b/ReactLearning/kanban-board/src/App.css @@ -1,35 +1,38 @@ -.App { - text-align: center; +html { + background-color: #383c4a; } - - - -.App-header { - background-color: #282c34; - min-height: 100vh; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; +.header { + color: #ddd; + background-color: #2a2e3a; + vertical-align: middle; } +.header > button { + height: 100%; + display: block; + float: right; + margin-top: auto; + margin-bottom: auto; + width: 150px; + font-size: 16pt; + color: #ddd; + border-style: line; -.App-link { - color: #61dafb; + background-color: #404552; } - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - + +/* For some reason, the CSS i need to use to get this to work isn't coming to me >:( */ .KBColumn { + text-align: center; display: block; float: left; - width: 200px; + width:initial; + flex-grow:inherit; + border-color: #ddd; + border-width: 2px; + border-style: solid; + color: "orange"; +} +.panel{ + width: 100%; } diff --git a/ReactLearning/kanban-board/src/App.tsx b/ReactLearning/kanban-board/src/App.tsx index aabe00d..3bb8660 100644 --- a/ReactLearning/kanban-board/src/App.tsx +++ b/ReactLearning/kanban-board/src/App.tsx @@ -56,7 +56,7 @@ class App extends React.Component<{}, State> { this.state.columns.push({ id: columnId, name: "tempName" + columnId, - color: "red", + color: "#404552", tasks: [], }); } @@ -78,6 +78,7 @@ class App extends React.Component<{}, State> { return (
+
{this.state.columns.map((column, index) => ( { tasks={column.tasks} /> ))} +
); } diff --git a/ReactLearning/kanban-board/src/components/Header.tsx b/ReactLearning/kanban-board/src/components/Header.tsx index 739092d..21f6a25 100644 --- a/ReactLearning/kanban-board/src/components/Header.tsx +++ b/ReactLearning/kanban-board/src/components/Header.tsx @@ -6,7 +6,7 @@ type HeaderProps = { }; const Header = (props: HeaderProps) => { return ( -
+

void; }; const defaultProps: KBColumnProps = { - color: "#00cc00", + color: "#404552", title: "waah", tasks: [], id: -1,