From 84cf31869bb3e6bd773613056eb56dded131016e Mon Sep 17 00:00:00 2001 From: Muhammad Ibrahim Date: Wed, 8 Oct 2025 17:57:56 +0100 Subject: [PATCH] Fixed spacing in the header for the buttons --- frontend/src/components/Layout.jsx | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/Layout.jsx b/frontend/src/components/Layout.jsx index 93658d8..009501f 100644 --- a/frontend/src/components/Layout.jsx +++ b/frontend/src/components/Layout.jsx @@ -929,33 +929,36 @@ const Layout = ({ children }) => {
- {/* Page title - hidden on dashboard, hosts, repositories, and packages to give more space to search */} + {/* Page title - hidden on dashboard, hosts, repositories, packages, and host details to give more space to search */} {!["/", "/hosts", "/repositories", "/packages"].includes( location.pathname, - ) && ( -
-

- {getPageTitle()} -

-
- )} + ) && + !location.pathname.startsWith("/hosts/") && ( +
+

+ {getPageTitle()} +

+
+ )} {/* Global Search Bar */}
{/* External Links */} -
+