diff --git a/frontend/src/app/providers/layout/navigation/navigation.tsx b/frontend/src/app/providers/layout/navigation/navigation.tsx index 9442195..14ea644 100644 --- a/frontend/src/app/providers/layout/navigation/navigation.tsx +++ b/frontend/src/app/providers/layout/navigation/navigation.tsx @@ -39,60 +39,48 @@ export const Navigation = () => { }} >
- {/* Логотип */} -
navigate("/")} - > - - - HellreigN - -
- - {/* Навигация */} -
- {navItems - .filter((item) => { - if (item.adminOnly && !user?.permission_admin) return false; - return true; - }) - .map((item) => { - const Icon = item.icon; - const active = isActive(item.path); - return ( - - ); - })} + {/* Навигация с горизонтальным скроллом */} +
+
+ {navItems + .filter((item) => { + if (item.adminOnly && !user?.permission_admin) return false; + return true; + }) + .map((item) => { + const Icon = item.icon; + const active = isActive(item.path); + return ( + + ); + })} +
{/* Профиль пользователя */} diff --git a/frontend/src/shared/styles/index.css b/frontend/src/shared/styles/index.css index 755d870..580b131 100644 --- a/frontend/src/shared/styles/index.css +++ b/frontend/src/shared/styles/index.css @@ -2,3 +2,13 @@ @import "./normalize.css"; @import "./root.css"; @import "./themes.css"; + +/* Hide scrollbar but keep functionality */ +.scrollbar-hide { + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ +} + +.scrollbar-hide::-webkit-scrollbar { + display: none; /* Chrome, Safari and Opera */ +}