This commit is contained in:
Olivier Gagnon
2021-10-01 16:22:33 -04:00
parent 5ba7b2796d
commit 50cf362b3b
64 changed files with 120 additions and 6205 deletions
+5
View File
@@ -159,6 +159,11 @@ export function refreshTheme(): void {
variant: "standard",
},
},
MuiTypography: {
defaultProps: {
color: "primary",
},
},
MuiMenu: {
styleOverrides: {
list: {
+2 -2
View File
@@ -12,10 +12,10 @@ interface ICityProps {
function City(props: ICityProps): React.ReactElement {
if (props.city !== props.currentCity) {
return (
<Tooltip title={props.city}>
<Tooltip title={<Typography>{props.city}</Typography>}>
<span
onClick={() => props.onTravel(props.city)}
style={{ color: "white", lineHeight: "1em", whiteSpace: "pre" }}
style={{ color: "white", lineHeight: "1em", whiteSpace: "pre", cursor: "pointer" }}
>
{props.city[0]}
</span>