@@ -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) => {
|
||||||
|
|||||||
@@ -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()}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user