Made improvements to title bar & break points (#2508)
Removed extra margin & changed breakpoints for console / operator pages title bar Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -205,7 +205,7 @@ const PageHeader = ({
|
||||
item
|
||||
xs={12}
|
||||
sm={12}
|
||||
md={5}
|
||||
md={4}
|
||||
className={classes.middleComponent}
|
||||
sx={{ marginTop: ["10px", "10px", "0", "0"] }}
|
||||
>
|
||||
@@ -216,7 +216,7 @@ const PageHeader = ({
|
||||
item
|
||||
xs={12}
|
||||
sm={12}
|
||||
md={middleComponent ? 3 : 6}
|
||||
md={middleComponent ? 4 : 6}
|
||||
className={classes.rightMenu}
|
||||
>
|
||||
{actions && actions}
|
||||
|
||||
@@ -261,7 +261,7 @@ const Console = ({ classes }: IConsoleProps) => {
|
||||
useLayoutEffect(() => {
|
||||
// Debounce to not execute constantly
|
||||
const debounceSize = debounce(() => {
|
||||
if (open && window.innerWidth <= 800) {
|
||||
if (open && window.innerWidth <= 1024) {
|
||||
dispatch(menuOpen(false));
|
||||
}
|
||||
}, 300);
|
||||
|
||||
@@ -272,7 +272,6 @@ const ListTenants = ({ classes }: ITenantsList) => {
|
||||
<Grid
|
||||
item
|
||||
xs={12}
|
||||
marginRight={"30px"}
|
||||
sx={{ display: "flex", justifyContent: "flex-end" }}
|
||||
>
|
||||
<TooltipWrapper tooltip={"Refresh Tenant List"}>
|
||||
|
||||
Reference in New Issue
Block a user