All files / app/features/profile/edit styles.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 852x   5x                                                                                                                                                                 2x  
import makeStyles from "utils/makeStyles";
 
const useStyles = makeStyles((theme) => ({
  avatar: {
    width: 120,
    height: 120,
  },
  topFormContainer: {
    display: "flex",
    flexDirection: "column",
    alignItems: "center",
    [theme.breakpoints.up("md")]: {
      flexDirection: "row",
      margin: theme.spacing(1, 10),
    },
    "& .MuiTextField-root": {
      width: "100%",
    },
  },
  buttonContainer: {
    position: "fixed",
    bottom: 0,
    left: 0,
    width: "100%",
    display: "flex",
    zIndex: 105,
    backgroundColor: theme.palette.background.paper,
    borderTop: `1px solid ${theme.palette.divider}`,
    justifyContent: "center",
    paddingBottom: theme.spacing(1),
    paddingTop: theme.spacing(1),
  },
  // Everything under the mapbox
  bottomFormContainer: {
    display: "flex",
    flexDirection: "column",
    justifyContent: "center",
    [theme.breakpoints.up("md")]: {
      margin: theme.spacing(0, 10),
    },
    // to make space for floating save button
    paddingBottom: theme.spacing(5),
  },
  radioButtons: {
    display: "flex",
    flexDirection: "column",
    [theme.breakpoints.up("sm")]: {
      display: "grid",
      gridTemplateColumns: "repeat(3, 1fr)",
    },
  },
  alert: {
    marginBottom: theme.spacing(3),
  },
  field: {
    [theme.breakpoints.up("md")]: {
      "& > .MuiInputBase-root": {
        width: 400,
      },
    },
    "& > .MuiInputBase-root": {
      width: "100%",
    },
  },
  form: {
    marginTop: theme.spacing(1),
    marginBottom: theme.spacing(2),
    // to make space for floating save button
    paddingBottom: theme.spacing(5),
  },
  formControl: {
    display: "block",
  },
  preferenceSection: {
    paddingTop: theme.spacing(3),
  },
  checkboxContainer: {
    display: "grid",
    gridTemplateColumns: "repeat(auto-fit, minmax(180px, auto))",
    columnGap: theme.spacing(2),
  },
}));
 
export default useStyles;