diff --git a/src/components/Card/CardRow.scss b/src/components/Card/CardRow.scss index a09c4c2..4ac6cd7 100644 --- a/src/components/Card/CardRow.scss +++ b/src/components/Card/CardRow.scss @@ -7,6 +7,10 @@ margin: 1rem 0; width: 55vw; + &.collapsed { + width: 15vw; + } + .card-row-top-bar { display: flex; align-items: center; diff --git a/src/components/Card/CardRow.tsx b/src/components/Card/CardRow.tsx index 4e899ec..04e19e2 100644 --- a/src/components/Card/CardRow.tsx +++ b/src/components/Card/CardRow.tsx @@ -27,7 +27,7 @@ export default function CardRow({tier, state, setState}: CardRowProps) { } return ( -
+

Tier: {tier}

diff --git a/src/components/Gameboard/Gameboard.scss b/src/components/Gameboard/Gameboard.scss index 973215d..119e535 100644 --- a/src/components/Gameboard/Gameboard.scss +++ b/src/components/Gameboard/Gameboard.scss @@ -1,7 +1,7 @@ .gameboard { display: flex; flex-flow: row nowrap; - align-items: center; + align-items: flex-start; justify-content: center; background-color: rgb(57, 57, 65); @@ -11,18 +11,18 @@ display: flex; flex-flow: column nowrap; align-items: center; - justify-content: flex-start; + justify-content: center; margin: 1rem; + padding: 1rem; } .gameboard-left { - min-width: 50vw; - padding: 1rem; + align-items: flex-start; } .gameboard-right { - min-width: 35vw; - padding: 1rem; + max-width: 30vw; + align-items: flex-end; } .round-marker { diff --git a/src/components/Gameboard/Gameboard.tsx b/src/components/Gameboard/Gameboard.tsx index 2cdb8c9..12284f6 100644 --- a/src/components/Gameboard/Gameboard.tsx +++ b/src/components/Gameboard/Gameboard.tsx @@ -88,7 +88,7 @@ export default function Gameboard({ state, setState }: StateProps) { setView(
-

Round: {state.round}

+

Round: {state.round}

diff --git a/src/components/Nobles/Nobles.scss b/src/components/Nobles/Nobles.scss index c3f565c..fbb8980 100644 --- a/src/components/Nobles/Nobles.scss +++ b/src/components/Nobles/Nobles.scss @@ -6,7 +6,11 @@ background-color: rgb(212, 196, 152); color: black; padding: 1rem 0; - min-width: 55vw; + width: 55vw; + + &.collapsed { + width: 15vw; + } .nobles-topbar { display: flex; diff --git a/src/components/Nobles/Nobles.tsx b/src/components/Nobles/Nobles.tsx index ebc2d23..efd4d5d 100644 --- a/src/components/Nobles/Nobles.tsx +++ b/src/components/Nobles/Nobles.tsx @@ -17,7 +17,7 @@ export default function Nobles({ state }: StateProps) { } return ( -
+
NOBLES