Explorar el Código

[test] drawer padding and scroll view

amenpunk hace 4 años
padre
commit
86dd1de410
Se han modificado 2 ficheros con 9 adiciones y 4 borrados
  1. 2 2
      psicoadmin/src/Components/Dashboard.js
  2. 7 2
      psicoadmin/src/Css/all.css

+ 2 - 2
psicoadmin/src/Components/Dashboard.js

@@ -257,13 +257,13 @@ function DashboardContent() {
                         {secondaryListItems}
                     </List>
                 </Drawer>
-                <Box component="main" sx={{ backgroundColor: (theme) => theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900], flexGrow: 1, height: '100vh', overflow: 'auto', }} >
+                {/* <Box component="main" sx={{ backgroundColor: (theme) => theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900], flexGrow: 1, height: '100vh', overflow: 'auto', }} > */}
                     <Toolbar />
                     <Container maxWidth="lg" sx={{ mt: 2 , mb: 2 }}>
                         <Outlet/>
                         <Footer/>
                     </Container>
-                </Box>
+                {/* </Box> */}
             </Box>
         </ThemeProvider>
     );

+ 7 - 2
psicoadmin/src/Css/all.css

@@ -17,7 +17,7 @@ body {
     position: relative;
     margin: 0 auto;
     font-family: 'gudea' !important;
-    background: #f1f1f1;
+    background: #f1f1f1 !important;
 }
 .container-in {
     max-width: 1100px;
@@ -214,7 +214,8 @@ a.article:hover {
     transition: all 0.3s;
 }
 .content-section {
-    padding: 0 30px;
+    background-color : #f1f1f1;
+    padding: 70px 30px;
 }
 .nav-item a i{
     color: #212529;
@@ -3962,5 +3963,9 @@ All this is done for any sub-level being entered.
     padding : 0px;
 }
 
+.container-fluid{
+    padding-left : 0px !important;
+}
+