diff --git a/package-lock.json b/package-lock.json
index 225352b..deb9c29 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3503,7 +3503,7 @@
"version": "19.2.7",
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.7.tgz",
"integrity": "sha512-MWtvHrGZLFttgeEj28VXHxpmwYbor/ATPYbBfSFZEIRK0ecCFLl2Qo55z52Hss+UV9CRN7trSeq1zbgx7YDWWg==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"csstype": "^3.2.2"
@@ -3513,7 +3513,7 @@
"version": "19.2.3",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz",
"integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"peerDependencies": {
"@types/react": "^19.2.0"
@@ -4796,7 +4796,7 @@
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT"
},
"node_modules/damerau-levenshtein": {
@@ -9345,7 +9345,7 @@
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
- "dev": true,
+ "devOptional": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
diff --git a/src/app/globals.css b/src/app/globals.css
index 719b2cf..8cb2ba6 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -145,3 +145,12 @@
@apply bg-background text-foreground;
}
}
+
+/* Hide scrollbar for horizontal scroll containers */
+@utility scrollbar-hide {
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+ &::-webkit-scrollbar {
+ display: none;
+ }
+}
diff --git a/src/app/loans/page.tsx b/src/app/loans/page.tsx
index e62c9e1..5cff9f2 100644
--- a/src/app/loans/page.tsx
+++ b/src/app/loans/page.tsx
@@ -28,11 +28,11 @@ export default async function LoanDashboardPage() {
const items = await getItems();
return (
-
+
-
+
-
Loans
+
Loans
{loans.length} LOAN REQUESTS
@@ -43,7 +43,7 @@ export default async function LoanDashboardPage() {
/>
-
diff --git a/src/components/DashboardNav.tsx b/src/components/DashboardNav.tsx
index 6656bec..97fb588 100644
--- a/src/components/DashboardNav.tsx
+++ b/src/components/DashboardNav.tsx
@@ -13,12 +13,12 @@ interface DashboardNavProps {
export function DashboardNav({ userRole }: DashboardNavProps) {
const pathname = usePathname();
// Unauthenticated users only see Catalogue tab
- const tabs = userRole
- ? getAvailableTabs(userRole)
+ const tabs = userRole
+ ? getAvailableTabs(userRole)
: [{ name: 'CATALOGUE', href: '/catalogue' }];
return (
-
+
{tabs.map((tab) => {
const isActive = pathname.startsWith(tab.href);
return (
@@ -26,7 +26,7 @@ export function DashboardNav({ userRole }: DashboardNavProps) {
key={tab.name}
href={tab.href}
className={cn(
- "pb-4 text-sm font-bold tracking-wide transition-colors hover:text-white",
+ "pb-3 md:pb-4 text-xs md:text-sm font-bold tracking-wide transition-colors hover:text-white whitespace-nowrap shrink-0",
isActive
? "border-b-2 border-[#57A6FF] text-white"
: "text-white/50 border-b-2 border-transparent"
diff --git a/src/components/catalogue/Catalogue.tsx b/src/components/catalogue/Catalogue.tsx
index a6e35d8..2837d7f 100644
--- a/src/components/catalogue/Catalogue.tsx
+++ b/src/components/catalogue/Catalogue.tsx
@@ -171,11 +171,11 @@ export default function Catalogue({ slocs, ihs, userRole }: CatalogueProps) {
}, [fetchItems]);
return (
-
+
-
+
-
Catalogue
+
Catalogue
{totalItems} ITEMS
{canEdit && (
@@ -183,8 +183,8 @@ export default function Catalogue({ slocs, ihs, userRole }: CatalogueProps) {
)}
-
-
+
+
)}
-
-
+
+
{/*Reset Filters Button - only show when filters are active */}
{hasActiveFilters && (
)}
-
+