diff --git a/src/components/ChapterVoteComponent.tsx b/src/components/ChapterVoteComponent.tsx index 4893739e..8bb07a56 100644 --- a/src/components/ChapterVoteComponent.tsx +++ b/src/components/ChapterVoteComponent.tsx @@ -12,11 +12,13 @@ import { Tooltip } from "../render/Tooltip"; export interface ChapterVoteProps { vote: (type: number, UUID: SegmentUUID, category?: Category) => Promise; + size?: string; } export interface ChapterVoteState { segment?: SponsorTime; show: boolean; + size: string; } class ChapterVoteComponent extends React.Component { @@ -27,7 +29,8 @@ class ChapterVoteComponent extends React.Component this.vote(e, 1)}> + width={this.state.size} height={this.state.size} /> {/* Downvote Button */} @@ -97,8 +100,8 @@ class ChapterVoteComponent extends React.Component + width={this.state.size} + height={this.state.size} /> );