fixed pageContainer width
This commit is contained in:
parent
61922f28ee
commit
952b3f6c4e
6 changed files with 20 additions and 15 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import { AppBar, Box, IconButton, Theme, Toolbar } from "@mui/material";
|
||||
import { Menu } from "@mui/icons-material";
|
||||
import classNames from "classnames";
|
||||
// import classNames from "classnames";
|
||||
import { makeStyles } from "@mui/styles";
|
||||
import { getDarkLogo, getLightLogo, getSignatureAccentColour, getSignatureColour, hasTransparentLogoBG, hideLogo } from "../services/whiteLabel";
|
||||
import { getDarkLogo, getLightLogo, getSignatureAccentColour, hasTransparentLogoBG, hideLogo } from "../services/whiteLabel";
|
||||
// import { Link } from "react-router-dom";
|
||||
import { useThemeType } from "../hooks/useThemeType";
|
||||
import UserMenu from "../user/UserMenu";
|
||||
|
|
@ -11,6 +11,7 @@ const useStyles = makeStyles((theme: Theme) => ({
|
|||
appBar: {
|
||||
zIndex: theme.zIndex.drawer + 1,
|
||||
backgroundImage: "none", // This prevents de-saturation of header in dark mode
|
||||
// border: "1px solid purple"
|
||||
},
|
||||
toolbar: {
|
||||
marginLeft: theme.spacing(0.5),
|
||||
|
|
@ -82,11 +83,10 @@ interface Props {
|
|||
|
||||
export default function Header(props: Props) {
|
||||
|
||||
const { sideIsOpen, openSide, toggleTheme } = props;
|
||||
// const { sideIsOpen, openSide, toggleTheme } = props;
|
||||
const { openSide, toggleTheme } = props;
|
||||
const themeType = useThemeType();
|
||||
const classes = useStyles()
|
||||
|
||||
console.log(getSignatureColour())
|
||||
const classes = useStyles()
|
||||
|
||||
return (
|
||||
<AppBar position="fixed" className={classes.appBar}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue