Skip to content

Commit

Permalink
fix: timer design (#1466)
Browse files Browse the repository at this point in the history
  • Loading branch information
StereoPT authored May 4, 2023
1 parent 54229f0 commit 23c316d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/src/components/Board/Timer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const Timer: React.FC<TimerProps> = ({ boardId, isAdmin, emitEvent, listenEvent

const buildTimeButton = (action: string, onClick: any) => (
<Button
css={{ height: '$10' }}
disabled={!isAdmin || isTimerRunning() || isTimerPaused()}
onClick={onClick}
size="xxs"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Board/Timer/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const TimerContainer = styled('div', {
justifySelf: 'start',
// position: 'absolute',
width: '$$w',
zIndex: -1,
},
variants: {
variant: {
Expand Down Expand Up @@ -67,7 +68,6 @@ const ControlPanel = styled('div', {
display: 'flex',
gap: '$4',
gridArea: 'buttons',
marginRight: '$10',
});

const TimePanel = styled('div', {
Expand Down

0 comments on commit 23c316d

Please sign in to comment.