Browse Source

[test] drawer padding and scroll view

amenpunk 3 years ago
parent
commit
86dd1de410
2 changed files with 9 additions and 4 deletions
  1. 2 2
      psicoadmin/src/Components/Dashboard.js
  2. 7 2
      psicoadmin/src/Css/all.css

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

257
                         {secondaryListItems}
257
                         {secondaryListItems}
258
                     </List>
258
                     </List>
259
                 </Drawer>
259
                 </Drawer>
260
-                <Box component="main" sx={{ backgroundColor: (theme) => theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900], flexGrow: 1, height: '100vh', overflow: 'auto', }} >
260
+                {/* <Box component="main" sx={{ backgroundColor: (theme) => theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900], flexGrow: 1, height: '100vh', overflow: 'auto', }} > */}
261
                     <Toolbar />
261
                     <Toolbar />
262
                     <Container maxWidth="lg" sx={{ mt: 2 , mb: 2 }}>
262
                     <Container maxWidth="lg" sx={{ mt: 2 , mb: 2 }}>
263
                         <Outlet/>
263
                         <Outlet/>
264
                         <Footer/>
264
                         <Footer/>
265
                     </Container>
265
                     </Container>
266
-                </Box>
266
+                {/* </Box> */}
267
             </Box>
267
             </Box>
268
         </ThemeProvider>
268
         </ThemeProvider>
269
     );
269
     );

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

17
     position: relative;
17
     position: relative;
18
     margin: 0 auto;
18
     margin: 0 auto;
19
     font-family: 'gudea' !important;
19
     font-family: 'gudea' !important;
20
-    background: #f1f1f1;
20
+    background: #f1f1f1 !important;
21
 }
21
 }
22
 .container-in {
22
 .container-in {
23
     max-width: 1100px;
23
     max-width: 1100px;
214
     transition: all 0.3s;
214
     transition: all 0.3s;
215
 }
215
 }
216
 .content-section {
216
 .content-section {
217
-    padding: 0 30px;
217
+    background-color : #f1f1f1;
218
+    padding: 70px 30px;
218
 }
219
 }
219
 .nav-item a i{
220
 .nav-item a i{
220
     color: #212529;
221
     color: #212529;
3962
     padding : 0px;
3963
     padding : 0px;
3963
 }
3964
 }
3964
 
3965
 
3966
+.container-fluid{
3967
+    padding-left : 0px !important;
3968
+}
3969
+
3965
 
3970
 
3966
 
3971