diff --git a/webapp/src/components/Board.tsx b/webapp/src/components/Board.tsx index 1caa2cd..f60ffbf 100644 --- a/webapp/src/components/Board.tsx +++ b/webapp/src/components/Board.tsx @@ -556,10 +556,10 @@ class Board extends Component { })} {this.props.viewOnly && !this.props.demo ? -
+
: -
+
} @@ -749,7 +749,7 @@ class Board extends Component { ) } {providedDroppable.placeholder} -
+
{!viewOnly && diff --git a/webapp/src/components/Card.tsx b/webapp/src/components/Card.tsx index c5e54c6..e5ea848 100644 --- a/webapp/src/components/Card.tsx +++ b/webapp/src/components/Card.tsx @@ -25,21 +25,21 @@ class Card extends Component { const color = this.props.color && (this.props.color !== Color.WHITE) ? this.props.color : null - const title = this.props.title.length > 50 ? this.props.title.substring(0, 50) + " (...)" : this.props.title + const title = this.props.title return (
-
+
-
+
{title}
-
+
{this.props.nbrOfItems && !(this.props.nbrOfItems === 0) ?
{this.props.nbrOfItems} items
@@ -81,7 +81,7 @@ class Card extends Component {
{this.props.bottomLink && -
+
} diff --git a/webapp/src/components/EmptyCard.tsx b/webapp/src/components/EmptyCard.tsx index 8080f9c..aa876ef 100644 --- a/webapp/src/components/EmptyCard.tsx +++ b/webapp/src/components/EmptyCard.tsx @@ -3,7 +3,7 @@ import React, { Component } from 'react'; class EmptyCard extends Component { render() { return ( -
+
); diff --git a/webapp/src/components/NewCard.tsx b/webapp/src/components/NewCard.tsx index cc754c6..d823cd2 100644 --- a/webapp/src/components/NewCard.tsx +++ b/webapp/src/components/NewCard.tsx @@ -3,7 +3,7 @@ import React, { Component } from 'react'; class NewCard extends Component { render() { return ( -
+
{this.props.children}
diff --git a/webapp/src/components/NewDimCard.tsx b/webapp/src/components/NewDimCard.tsx index 66a7cc0..265ab7f 100644 --- a/webapp/src/components/NewDimCard.tsx +++ b/webapp/src/components/NewDimCard.tsx @@ -3,7 +3,7 @@ import React, { Component } from 'react'; class NewDimCard extends Component { render() { return ( -
+
{this.props.children}