diff --git a/js/components/GroupStage.js b/js/components/GroupStage.js index cdbdc29..51c5614 100644 --- a/js/components/GroupStage.js +++ b/js/components/GroupStage.js @@ -37,9 +37,16 @@ export default class GroupStage extends Component { } function ShowMatchesToggleChevron(props) { - return (); + const toggleClass = props.show ? 'rotate' : ''; + return ( + + ); } export class Group extends Component { diff --git a/public/static/css/tournament.css b/public/static/css/tournament.css index 6728a6f..b377cdc 100644 --- a/public/static/css/tournament.css +++ b/public/static/css/tournament.css @@ -56,3 +56,10 @@ .favorite-bar.visible { max-height: none; } + +.my-chevron { + transition: transform 0.3s ease; +} +.my-chevron.rotate { + transform: rotate(180deg); +}