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:
Alex
2022-12-14 20:13:18 -06:00
committed by GitHub
parent f557c4c550
commit adc199b315
3 changed files with 3 additions and 4 deletions

View File

@@ -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}

View File

@@ -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);

View File

@@ -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"}>