From 6a928309f76acacf18fea7498bc38da921fccc96 Mon Sep 17 00:00:00 2001 From: Robson Tenorio Date: Thu, 15 Sep 2022 18:16:19 -0300 Subject: [PATCH] Ajuste do layout --- frontend/src/pages/Connections/index.js | 3 ++- frontend/src/pages/Contacts/index.js | 3 ++- frontend/src/pages/Queues/index.js | 3 ++- frontend/src/pages/QuickAnswers/index.js | 3 ++- frontend/src/pages/Tickets/index.js | 2 +- frontend/src/pages/Users/index.js | 3 ++- 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/Connections/index.js b/frontend/src/pages/Connections/index.js index 696ce7e1..7c2fac8c 100644 --- a/frontend/src/pages/Connections/index.js +++ b/frontend/src/pages/Connections/index.js @@ -44,7 +44,8 @@ import toastError from "../../errors/toastError"; const useStyles = makeStyles(theme => ({ mainPaper: { flex: 1, - padding: theme.spacing(1), + padding: theme.spacing(2), + margin: theme.spacing(1), overflowY: "scroll", ...theme.scrollbarStyles, }, diff --git a/frontend/src/pages/Contacts/index.js b/frontend/src/pages/Contacts/index.js index 28effd53..12116375 100644 --- a/frontend/src/pages/Contacts/index.js +++ b/frontend/src/pages/Contacts/index.js @@ -94,7 +94,8 @@ const reducer = (state, action) => { const useStyles = makeStyles((theme) => ({ mainPaper: { flex: 1, - padding: theme.spacing(1), + padding: theme.spacing(2), + margin: theme.spacing(1), overflowY: "scroll", ...theme.scrollbarStyles, }, diff --git a/frontend/src/pages/Queues/index.js b/frontend/src/pages/Queues/index.js index 15108843..5958c909 100644 --- a/frontend/src/pages/Queues/index.js +++ b/frontend/src/pages/Queues/index.js @@ -31,7 +31,8 @@ import ConfirmationModal from "../../components/ConfirmationModal"; const useStyles = makeStyles((theme) => ({ mainPaper: { flex: 1, - padding: theme.spacing(1), + padding: theme.spacing(2), + margin: theme.spacing(1), overflowY: "scroll", ...theme.scrollbarStyles, }, diff --git a/frontend/src/pages/QuickAnswers/index.js b/frontend/src/pages/QuickAnswers/index.js index 4d857fd7..82261230 100644 --- a/frontend/src/pages/QuickAnswers/index.js +++ b/frontend/src/pages/QuickAnswers/index.js @@ -85,7 +85,8 @@ const reducer = (state, action) => { const useStyles = makeStyles((theme) => ({ mainPaper: { flex: 1, - padding: theme.spacing(1), + padding: theme.spacing(2), + margin: theme.spacing(1), overflowY: "scroll", ...theme.scrollbarStyles, }, diff --git a/frontend/src/pages/Tickets/index.js b/frontend/src/pages/Tickets/index.js index a48c17ec..35c98db3 100644 --- a/frontend/src/pages/Tickets/index.js +++ b/frontend/src/pages/Tickets/index.js @@ -19,6 +19,7 @@ const useStyles = makeStyles((theme) => ({ // padding: theme.spacing(4), height: `calc(100% - 48px)`, overflowY: "hidden", + margin: theme.spacing(1), }, chatPapper: { @@ -54,7 +55,6 @@ const useStyles = makeStyles((theme) => ({ alignItems: "center", height: "100%", textAlign: "center", - borderRadius: 0, }, ticketsManager: {}, ticketsManagerClosed: { diff --git a/frontend/src/pages/Users/index.js b/frontend/src/pages/Users/index.js index 3a068f8d..ab443d70 100644 --- a/frontend/src/pages/Users/index.js +++ b/frontend/src/pages/Users/index.js @@ -77,7 +77,8 @@ const reducer = (state, action) => { const useStyles = makeStyles((theme) => ({ mainPaper: { flex: 1, - padding: theme.spacing(1), + padding: theme.spacing(2), + margin: theme.spacing(1), overflowY: "scroll", ...theme.scrollbarStyles, },