- Checkpoint

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-07-02 18:04:08 -04:00
parent 975622a31c
commit 61569d97cb
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
import { groupBy } from "lodash"; import { groupBy } from "lodash";
import fakeData from "./testData/board1200.json"; import fakeData from "./testData/board600.json";
const sortByParentId = (arr) => { const sortByParentId = (arr) => {
// return arr.reduce((accumulator, currentValue) => { // return arr.reduce((accumulator, currentValue) => {

View File

@@ -286,7 +286,7 @@ const Lane = ({
<div <div
{...props} {...props}
style={{ style={{
width: 252, // TODO: THIS IS THE LINE THAT CONTROLS IT ALL width: 152, // This is required and is pegged to .react-trello-card (Vertical)=
display: "flex", display: "flex",
flex: "none", flex: "none",
alignContent: "stretch", alignContent: "stretch",
@@ -319,7 +319,7 @@ const Lane = ({
style={{ ...provided.droppableProps.style }} style={{ ...provided.droppableProps.style }}
> >
<FinalComponent {...finalComponentProps} /> <FinalComponent {...finalComponentProps} />
{provided.placeholder} {/*{provided.placeholder}*/}
</div> </div>
{renderAddCardLink()} {renderAddCardLink()}
{renderNewCardForm()} {renderNewCardForm()}

View File

@@ -101,7 +101,7 @@ export const StyleVertical = styled.div`
.react-trello-card { .react-trello-card {
flex: 0 1 auto; flex: 0 1 auto;
width: auto; width: 150px;
height: auto; height: auto;
} }