fix travel to s12 on list world map

This commit is contained in:
Olivier Gagnon
2021-09-13 14:43:23 -04:00
parent acc215cc61
commit 4ad5b06e19
9 changed files with 122 additions and 125 deletions
+4 -4
View File
@@ -4,25 +4,25 @@
*/
import React from "react";
import { Select as MuiSelect, ButtonProps, makeStyles } from "@material-ui/core";
import { Select as MuiSelect, SelectProps, makeStyles } from "@material-ui/core";
import { colors } from "./Theme";
const useStyles = makeStyles({
// Tries to emulate StdButton in buttons.scss
root: {
backgroundColor: "#000",
backgroundColor: "#222",
color: colors.primarydark,
margin: "5px",
padding: "3px 5px",
"&:hover": {
backgroundColor: "#000",
backgroundColor: "#222",
},
borderRadius: 0,
},
});
export const Select: React.FC<ButtonProps> = (props: ButtonProps) => {
export const Select: React.FC<SelectProps> = (props: SelectProps) => {
return (
<MuiSelect
native
+1 -1
View File
@@ -10,7 +10,7 @@ import { colors } from "./Theme";
const useStyles = makeStyles({
// Tries to emulate StdButton in buttons.scss
root: {
backgroundColor: "#000",
backgroundColor: "#222",
color: "white",
borderRadius: 0,
"& .MuiInputBase-input": {