diff --git a/app/globals.css b/app/globals.css index 6e694a3..fbe3fb7 100644 --- a/app/globals.css +++ b/app/globals.css @@ -101,20 +101,26 @@ footer{ overflow-y: auto; scroll-behavior: smooth; } +.scrollbarBoxX { + /* IE 10+ */ + overflow-y: hidden; + overflow-x: auto; + scroll-behavior: smooth; +} -.scrollbarBox::-webkit-scrollbar { +.scrollbarBoxX::-webkit-scrollbar, .scrollbarBox::-webkit-scrollbar { /* display:none; */ width: 6px; } -.scrollbarBox::-webkit-scrollbar-thumb { +.scrollbarBoxX::-webkit-scrollbar-thumb,.scrollbarBox::-webkit-scrollbar-thumb { border-radius: 10px; -webkit-box-shadow: inset 0 0 5px rgba(138, 138, 138, 0.2); background: nb-theme(background-basic-color-4); } -.scrollbarBox::-webkit-scrollbar-track { +.scrollbarBoxX::-webkit-scrollbar-track,.scrollbarBox::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 5px rgba(138, 138, 138, 0.2); border-radius: 10px; background: nb-theme(background-basic-color-2); diff --git a/app/layout.js b/app/layout.js index 30ee1b0..a3be66c 100644 --- a/app/layout.js +++ b/app/layout.js @@ -72,10 +72,7 @@ export default function RootLayout({ children }) { {/* */} {/* */} - + {/* */} {/* */} {/* */} @@ -191,9 +188,16 @@ export default function RootLayout({ children }) {
- {withAuth({children})} +
+ {withAuth( + +
+ {children} + {/* */} +
+
+ )} {/* {children} */} -