diff --git a/client/src/Board.css b/client/src/Board.css index 9b5fca3..aff39ba 100644 --- a/client/src/Board.css +++ b/client/src/Board.css @@ -125,7 +125,7 @@ background-color: white; } -.Selected { +.Board .Selected { background-color: rgba(0, 0, 0, 1); box-shadow: 5px 5px 5px black; } diff --git a/client/src/Table.css b/client/src/Table.css index 71debb8..0901d1c 100755 --- a/client/src/Table.css +++ b/client/src/Table.css @@ -132,6 +132,11 @@ filter: brightness(150%); } +.Resource.Selected { + filter: brightness(150%); + top: -1em; +} + .Dice { width: 1rem; height: 1rem; diff --git a/client/src/Table.js b/client/src/Table.js index 78d0e54..09702fc 100755 --- a/client/src/Table.js +++ b/client/src/Table.js @@ -125,23 +125,25 @@ class Development extends React.Component { } }; -class Resource extends React.Component { - render() { - const array = new Array(Number(this.props.count ? this.props.count : 0)); - return ( - <> - { array.length > 0 && -