Skip to content

Commit fbccc2c

Browse files
committed
Make timer prettier
1 parent 7b0e384 commit fbccc2c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

client/src/menu/game/HeaderMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export default class HeaderMenu extends React.Component<HeaderMenuProps, HeaderM
137137

138138
render(){
139139
const timerStyle = {
140-
paddingTop: '1%',
140+
paddingTop: '100%',
141141
backgroundColor: 'red',
142142
width: `${(this.state.gameState.timeLeftMs) * (100/(60*1000))}%`,
143143
margin: '0 auto', // Center the timer horizontally

client/src/menu/game/gameScreenContent/chatMenu.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
height: 100%;
77
max-height: 100%;
88
max-width: 100%;
9+
background-color: var(--background-color);
910
}
1011
.chat-menu .content-tab {
1112
background-color: #132936;

client/src/menu/game/headerMenu.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939
.header-menu .timer-box{
4040
width: 100%;
41-
height: 100%;
41+
height: .5rem;
4242
margin: 0%;
4343
padding: 0%;
4444
background-color: #220000;

0 commit comments

Comments
 (0)