Skip to content

Commit a0a0301

Browse files
committed
feat(roundtime): increase width
1 parent 4df54d5 commit a0a0301

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

electron/renderer/components/game/game-roundtime.tsx

+3-8
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const GameTimeDisplay: React.FC<GameTimeDisplayProps> = (
3131
<div
3232
style={{
3333
position: 'relative',
34-
width: '30px',
34+
width: '100%',
3535
height: '25px',
3636
margin: 0,
3737
padding: 0,
@@ -69,13 +69,7 @@ const GameTimeDisplay: React.FC<GameTimeDisplayProps> = (
6969

7070
GameTimeDisplay.displayName = 'GameTimeDisplay';
7171

72-
export interface GameRoundTimeProps {
73-
todo?: true;
74-
}
75-
76-
export const GameRoundTime: React.FC<GameRoundTimeProps> = (
77-
_props: GameRoundTimeProps
78-
) => {
72+
export const GameRoundTime: React.FC = () => {
7973
const { euiTheme } = useEuiTheme();
8074

8175
const nowInSeconds = useCallback(() => {
@@ -147,6 +141,7 @@ export const GameRoundTime: React.FC<GameRoundTimeProps> = (
147141
display: 'flex',
148142
flexDirection: 'column',
149143
gap: '5px',
144+
width: '50px',
150145
}}
151146
>
152147
<GameTimeDisplay

0 commit comments

Comments
 (0)