mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
terminal wrap but it's not perfect
This commit is contained in:
parent
4a5fb04d41
commit
b682a442fe
@ -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,
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user