terminal wrap but it's not perfect

This commit is contained in:
Olivier Gagnon 2021-09-16 14:55:55 -04:00
parent 4a5fb04d41
commit b682a442fe
2 changed files with 3 additions and 5 deletions

@ -57,17 +57,15 @@ import { KEY } from "../../../utils/helpers/keyCodes";
import { FconfSettings } from "../../Fconf/FconfSettings"; import { FconfSettings } from "../../Fconf/FconfSettings";
import { Page, routing } from "../../ui/navigationTracking"; import { Page, routing } from "../../ui/navigationTracking";
const drawerWidth = 240;
const useStyles = makeStyles((theme: Theme) => const useStyles = makeStyles((theme: Theme) =>
createStyles({ createStyles({
drawer: { drawer: {
width: drawerWidth, width: theme.spacing(31),
flexShrink: 0, flexShrink: 0,
whiteSpace: "nowrap", whiteSpace: "nowrap",
}, },
drawerOpen: { drawerOpen: {
width: drawerWidth, width: theme.spacing(31),
transition: theme.transitions.create("width", { transition: theme.transitions.create("width", {
easing: theme.transitions.easing.sharp, easing: theme.transitions.easing.sharp,
duration: theme.transitions.duration.enteringScreen, duration: theme.transitions.duration.enteringScreen,

@ -40,7 +40,7 @@ const useStyles = makeStyles((theme: Theme) =>
padding: 0, padding: 0,
}, },
preformatted: { preformatted: {
whiteSpace: "pre", whiteSpace: "pre-wrap",
margin: 0, margin: 0,
}, },
}), }),