Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

feat(frontend): add compact mobile operations mode

rcourtman61bc4b25eb50
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json
index 8e075de14f..424b82c57e 100644
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@ -1,36 +1,32 @@
{
"version": 1,
- "base_sha": "e7cc3f4b675ec6b2fa891ef24fce4c86961964a0",
- "verified_at": "2026-08-18T14:27:09Z",
+ "base_sha": "6ca27721ef6c00836bab7e169654692bbd1ed16e",
+ "verified_at": "2026-08-18T15:17:29Z",
"result": "passed",
"changed_paths": [
"frontend-modern/src/App.tsx",
"frontend-modern/src/AppLayout.tsx",
- "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx",
"frontend-modern/src/components/shared/MobileNavBar.tsx",
- "frontend-modern/src/components/shared/PageHeader.tsx",
"frontend-modern/src/components/shared/Subtabs.tsx",
+ "frontend-modern/src/components/shared/SummaryRowActionButton.tsx",
"frontend-modern/src/components/shared/mobileNavBarModel.ts",
+ "frontend-modern/src/features/proxmox/ProxmoxNodesTable.tsx",
"frontend-modern/src/index.css"
],
"content_sha256": {
- "frontend-modern/src/App.tsx": "b418b30988f1e68a224537dc5ed8fe10f3101768e43ab33187391bd98c893c95",
- "frontend-modern/src/AppLayout.tsx": "e19e6f92589f9c0f4ff27bba7822b855455d31bf3d8e9b503c90fba7c5e14e41",
- "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx": "18fb27ef3561fbc2303e8cbdf531f39b936f7e42aa164a607e83bd0382463cf7",
- "frontend-modern/src/components/shared/MobileNavBar.tsx": "9d6e12106df9ab0d5e6bce1f8e552b11473e07f9ca857569ee423959cc5e4c91",
- "frontend-modern/src/components/shared/PageHeader.tsx": "428d4c02380ba13a38d1ee7404c56b538562df904aecb66f11786ef0dbb8d259",
- "frontend-modern/src/components/shared/Subtabs.tsx": "0d28e6c1a134ad0d63658c66e4114a96b6820a331c0a8df432d60acdc17569e2",
- "frontend-modern/src/components/shared/mobileNavBarModel.ts": "039dfee662f5834cb183511a646758fd627a95ef2ffdcc5b808ef7c20190ab30",
- "frontend-modern/src/index.css": "05dc7a4a5741172dd3bc2397c4268f01813b531a1dad43998b5d604d3d170108"
+ "frontend-modern/src/App.tsx": "2f8ec39abd969c9abc995105eccb9513a83dca9744d8c003d5b5e8cf0a69eec5",
+ "frontend-modern/src/AppLayout.tsx": "9c4ffef00d4d09f76b744fdb43c961c09436b2a1620607e48721eed3a848f44e",
+ "frontend-modern/src/components/shared/MobileNavBar.tsx": "a39ff906f6be2f35f3c6894615811e6e0566d068d7ac5ec89f14c0cb01d40751",
+ "frontend-modern/src/components/shared/Subtabs.tsx": "277d29d71d710382bb72cbe80791133bd9093e7529d525319d42e52adf7668ad",
+ "frontend-modern/src/components/shared/SummaryRowActionButton.tsx": "527c6226dd12a7b2e37167787db50c62c7de414658a163f6c316077bfaa2a862",
+ "frontend-modern/src/components/shared/mobileNavBarModel.ts": "fd6614f3cb8d90776fba51c04b887f152e2e88952f149b9b5eacc1e848dccd14",
+ "frontend-modern/src/features/proxmox/ProxmoxNodesTable.tsx": "7b8a9a56e4b31833d18c713a692a75148d786233a7a16c2339167517f7ad78a0",
+ "frontend-modern/src/index.css": "6e775ca1cba645cac91b1fffc6c9680fe898d24d29398919e095870d8559f8fa"
},
"routes": [
"/proxmox/overview",
- "/proxmox/storage",
"/alerts/overview",
- "/patrol",
- "/actions",
- "/settings/infrastructure",
- "/docker/overview"
+ "/actions"
],
"viewports": [
{
@@ -47,22 +43,21 @@
}
],
"states": [
- "Desktop Alerts overview with the full navigation shell and loaded alert content",
- "Phone Proxmox overview with compact node, group, and workload rows",
+ "Desktop Alerts overview with the full navigation shell and loaded content",
+ "Phone Proxmox overview with 37-pixel node and workload rows",
+ "Phone Proxmox overview with the redundant Nodes card title removed",
"Phone Proxmox filter controls in closed and expanded states",
"Phone Proxmox node details in collapsed and expanded states",
- "Phone Actions, Patrol, Settings infrastructure, and Docker overview pages",
- "Phone settings loading and loaded states",
- "Phone mobile-navigation overflow menu in closed and expanded states",
- "Phone-width page headers with actions at 390 and wrapped title stress coverage at 320 pixels"
+ "Phone Actions page with compact page header and 44-pixel navigation rail",
+ "Phone Alerts overview with compact page header"
],
"interactions": [
"Opened and closed the Proxmox filter controls at 390 by 844",
"Expanded and collapsed a Proxmox node detail row at 390 by 844",
- "Navigated from Proxmox Overview to Storage through the compact subtab rail",
- "Opened the mobile More menu, dismissed it with Escape, and confirmed focus returned to More navigation",
- "Opened the mobile More menu and navigated to Docker overview",
- "Confirmed document width matched viewport width on operational routes at 390 and 320 pixels",
- "Confirmed the desktop mobile rail remained hidden and the Alerts overview loaded without horizontal overflow at 1440 by 900"
+ "Confirmed twelve host and workload rows remained visible in a 320 by 740 viewport",
+ "Confirmed document width matched viewport width at 390 and 320 pixels",
+ "Confirmed shared compact headers and navigation remained overflow-free on Actions and Alerts",
+ "Confirmed the desktop mobile rail remained hidden and Alerts retained its desktop geometry at 1440 by 900",
+ "Confirmed final browser diagnostics contained no warnings or errors"
]
}
diff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsx
index f43b6faaa4..501f450b1c 100644
--- a/frontend-modern/src/App.tsx
+++ b/frontend-modern/src/App.tsx
@@ -559,7 +559,7 @@ function App() {
{/* Main content area - shrinks when AI panel is open, scrolls independently */}
<div
ref={setAppScrollShellRef}
- class={`app-scroll-shell isolate flex-1 min-w-0 overflow-y-scroll bg-base text-base-content font-sans py-2 sm:py-6 transition-all duration-300`}
+ class={`app-scroll-shell isolate flex-1 min-w-0 overflow-y-scroll bg-base text-base-content font-sans py-1 sm:py-6 transition-all duration-300`}
>
<AppLayout
connectionStatus={runtime.connectionStatus}
diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsx
index ee89433cf6..fff0c31184 100644
--- a/frontend-modern/src/AppLayout.tsx
+++ b/frontend-modern/src/AppLayout.tsx
@@ -728,7 +728,7 @@ export function AppLayout(props: AppLayoutProps) {
return (
<div
- class={`pulse-shell ${layoutStore.isFullWidth() || kioskMode() ? 'pulse-shell--full-width' : ''} ${!kioskMode() ? 'pb-safe-or-16 xl:pb-0' : ''}`}
+ class={`pulse-shell ${layoutStore.isFullWidth() || kioskMode() ? 'pulse-shell--full-width' : ''} ${!kioskMode() ? 'pb-safe-or-14 xl:pb-0' : ''}`}
>
{/* Skip-to-content link: visually hidden until focused, then
appears as a button at the top-left. Lets keyboard users
@@ -760,7 +760,7 @@ export function AppLayout(props: AppLayoutProps) {
/>
</Show>
<div
- class={`header mb-2 flex items-center gap-2 sm:mb-3 ${
+ class={`header mb-1 flex items-center gap-1 sm:mb-3 sm:gap-2 ${
kioskMode()
? 'fixed top-0 left-0 right-0 z-50 justify-end bg-surface shadow-sm'
: 'justify-between sm:grid sm:grid-cols-[1fr_auto_1fr] sm:items-center sm:gap-0'
@@ -798,9 +798,9 @@ export function AppLayout(props: AppLayoutProps) {
}}
>
<Show when={!kioskMode()}>
- <div class="flex items-center gap-2 sm:flex-initial sm:gap-2 sm:col-start-2 sm:col-end-3 sm:justify-self-center">
+ <div class="flex items-center gap-1.5 sm:col-start-2 sm:col-end-3 sm:flex-initial sm:justify-self-center sm:gap-2">
<div
- class={`pulse-brand-lockup flex items-center gap-2 ${!customBrandLogo() && brandMotionActive() ? 'animate-pulse-brand' : ''}`}
+ class={`pulse-brand-lockup flex items-center gap-1.5 sm:gap-2 ${!customBrandLogo() && brandMotionActive() ? 'animate-pulse-brand' : ''}`}
data-testid="pulse-brand-lockup"
>
<Show when={customBrandLogo()} fallback={<PulseBrandMark class="h-5 w-5" />}>
@@ -814,7 +814,7 @@ export function AppLayout(props: AppLayoutProps) {
)}
</Show>
<Show when={customBrandName() || !customBrandLogo()}>
- <span class="pulse-brand-wordmark text-lg font-medium text-base-content">
+ <span class="pulse-brand-wordmark text-base font-medium text-base-content sm:text-lg">
{customBrandName() || 'Pulse'}
</span>
</Show>
@@ -827,13 +827,13 @@ export function AppLayout(props: AppLayoutProps) {
</div>
</Show>
<div
- class={`header-controls flex items-center gap-2 ${kioskMode() ? '' : 'justify-end sm:col-start-3 sm:col-end-4 sm:w-auto sm:justify-end sm:justify-self-end'}`}
+ class={`header-controls flex items-center gap-1 sm:gap-2 ${kioskMode() ? '' : 'justify-end sm:col-start-3 sm:col-end-4 sm:w-auto sm:justify-end sm:justify-self-end'}`}
>
<Show when={assistantLauncherVisible() && viewport.isBelow('lg')}>
{renderAssistantLauncher(AI_CHAT_MOBILE_LAUNCHER_BUTTON_CLASS)}
</Show>
<Show when={props.hasAuth() && !props.needsAuth()}>
- <div class="flex items-center gap-2">
+ <div class="flex items-center gap-1 sm:gap-2">
<Show when={props.showOrgSwitcher()}>
<OrgSwitcher
orgs={props.organizations()}
@@ -845,7 +845,7 @@ export function AppLayout(props: AppLayoutProps) {
<button
type="button"
onClick={toggleKioskMode}
- class={`group relative flex h-11 w-11 items-center justify-center rounded-full text-xs transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-500 sm:h-10 sm:w-10 ${
+ class={`group relative flex h-9 w-9 items-center justify-center rounded-full text-xs transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-500 sm:h-10 sm:w-10 ${
kioskMode()
? 'bg-blue-100 text-blue-700 hover:bg-blue-200 dark:bg-blue-900 dark:text-blue-300 dark:hover:bg-blue-800'
: 'bg-surface-hover text-base-content hover:bg-border'
@@ -868,7 +868,7 @@ export function AppLayout(props: AppLayoutProps) {
<button
type="button"
onClick={props.handleLogout}
- class="group relative flex h-11 w-11 items-center justify-center rounded-full bg-surface-hover text-xs text-base-content transition hover:bg-border focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-500 sm:h-10 sm:w-10"
+ class="group relative flex h-9 w-9 items-center justify-center rounded-full bg-surface-hover text-xs text-base-content transition hover:bg-border focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-500 sm:h-10 sm:w-10"
title="Logout"
aria-label="Logout"
>
diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.ts
index 0fc0d95438..8b70b09c61 100644
--- a/frontend-modern/src/__tests__/App.architecture.test.ts
+++ b/frontend-modern/src/__tests__/App.architecture.test.ts
@@ -530,10 +530,13 @@ describe('App architecture', () => {
expect(appLayoutSource).toContain('pulse-brand-lockup');
expect(appLayoutSource).toContain('animate-pulse-brand');
expect(appLayoutSource).toContain('pulse-brand-wordmark');
- expect(appLayoutSource).toContain("'pb-safe-or-16 xl:pb-0'");
- expect(appStylesSource).toContain('.pb-safe-or-16');
+ expect(appLayoutSource).toContain("'pb-safe-or-14 xl:pb-0'");
+ expect(appStylesSource).toContain('.pb-safe-or-14');
expect(appStylesSource).toContain('.pulse-shell--full-width');
expect(appStylesSource).toContain('.pulse-wide-data-surface.space-y-3');
+ expect(appStylesSource).toContain('.filter-bar > div > div:first-child button');
+ expect(appStylesSource).toContain('.proxmox-nodes-card > :first-child');
+ expect(appStylesSource).toContain('.pulse-wide-data-surface .host-row');
expect(appStylesSource).toContain('.pulse-footer > div');
expect(appLayoutSource).toContain('tabs mb-2 hidden xl:flex');
expect(appLayoutSource).toContain('xl:px-2 2xl:px-3');
diff --git a/frontend-modern/src/__tests__/AppLayout.test.tsx b/frontend-modern/src/__tests__/AppLayout.test.tsx
index 9857f813b2..ac3dfffe82 100644
--- a/frontend-modern/src/__tests__/AppLayout.test.tsx
+++ b/frontend-modern/src/__tests__/AppLayout.test.tsx
@@ -168,9 +168,9 @@ describe('AppLayout navigation icons', () => {
it('renders fresh utility icons for both desktop and mobile navigation trees', () => {
const { container } = renderLayout();
- expect(container.querySelector('.pulse-shell')).toHaveClass('pb-safe-or-16');
- expect(container.querySelector('.pulse-shell')).not.toHaveClass('pb-safe-or-20');
- expect(container.querySelector('.header')).toHaveClass('mb-2', 'sm:mb-3');
+ expect(container.querySelector('.pulse-shell')).toHaveClass('pb-safe-or-14');
+ expect(container.querySelector('.pulse-shell')).not.toHaveClass('pb-safe-or-16');
+ expect(container.querySelector('.header')).toHaveClass('mb-1', 'sm:mb-3');
expect(container.querySelector('main')).toHaveClass('mb-1', 'sm:mb-2');
expect(container.querySelector('footer')).toHaveClass('pulse-footer', 'px-2', 'sm:px-4');
diff --git a/frontend-modern/src/components/shared/MobileNavBar.tsx b/frontend-modern/src/components/shared/MobileNavBar.tsx
index ccab1acb1e..27f9f9bcc8 100644
--- a/frontend-modern/src/components/shared/MobileNavBar.tsx
+++ b/frontend-modern/src/components/shared/MobileNavBar.tsx
@@ -95,7 +95,7 @@ function MobileNavDestinationContent(props: {
export function MobileNavBar(props: MobileNavBarProps) {
const mobileNav = useMobileNavBarState(props);
- const tabIconClass = 'h-4 w-4 shrink-0';
+ const tabIconClass = 'h-3.5 w-3.5 shrink-0';
const overflowHasBadge = () =>
mobileNav.overflowDestinations().some(mobileNavDestinationHasBadge);
@@ -169,7 +169,7 @@ export function MobileNavBar(props: MobileNavBarProps) {
</div>
</Show>
- <div data-mobile-nav-rail="fixed" class="flex min-w-0 items-stretch gap-0.5 px-1 py-1">
+ <div data-mobile-nav-rail="fixed" class="flex min-w-0 items-stretch gap-0.5 px-0.5 py-0.5">
<For each={mobileNav.fixedDestinations()}>
{(destination) => {
const active = () => isMobileNavDestinationActive(destination, props.activeTab());
diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
index d404b955b7..4bd54b4485 100644
--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
@@ -8444,9 +8444,9 @@ describe('shared primitive guardrails', () => {
it('keeps shared navigation and row actions usable at phone widths', () => {
expect(subtabsSource).toContain('overflow-x-auto');
expect(subtabsSource).toContain('whitespace-nowrap');
- expect(subtabsSource).toContain('min-h-11');
+ expect(subtabsSource).toContain('min-h-9');
expect(subtabsSource).toContain('sm:min-h-10');
- expect(summaryRowActionButtonSource).toContain('h-11 w-11');
+ expect(summaryRowActionButtonSource).toContain('h-9 w-9');
expect(searchFieldSource).toContain('min-h-11');
expect(filterToolbarSource).toContain('min-h-11');
expect(inlineDetailTableRowSource).toContain('max-w-[calc(100vw-3.5rem)]');
diff --git a/frontend-modern/src/components/shared/Subtabs.tsx b/frontend-modern/src/components/shared/Subtabs.tsx
index 99827aea0a..0231f42406 100644
--- a/frontend-modern/src/components/shared/Subtabs.tsx
+++ b/frontend-modern/src/components/shared/Subtabs.tsx
@@ -24,10 +24,10 @@ interface SubtabsProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, 'onChang
export const subtabsShellClass = 'border-b border-border';
export const subtabsListClass =
- 'flex min-w-0 items-center gap-4 overflow-x-auto scrollbar-hide sm:gap-6';
+ 'flex min-w-0 items-center gap-3 overflow-x-auto scrollbar-hide sm:gap-6';
export const subtabsTrailingRowClass = 'flex flex-wrap items-center justify-between gap-3';
export const subtabButtonClass =
- 'inline-flex min-h-11 shrink-0 select-none items-center whitespace-nowrap border-b-2 px-1 py-2 text-sm font-medium transition-colors sm:min-h-10';
+ 'inline-flex min-h-9 shrink-0 select-none items-center whitespace-nowrap border-b-2 px-1 py-1 text-xs font-medium transition-colors sm:min-h-10 sm:py-2 sm:text-sm';
export const subtabButtonActiveClass = 'border-blue-600 text-base-content';
export const subtabButtonInactiveClass = 'border-transparent text-muted hover:text-base-content';
export const Subtabs: Component<SubtabsProps> = (props) => {
diff --git a/frontend-modern/src/components/shared/SummaryRowActionButton.tsx b/frontend-modern/src/components/shared/SummaryRowActionButton.tsx
index d0b2c54d39..b83d0ae26f 100644
--- a/frontend-modern/src/components/shared/SummaryRowActionButton.tsx
+++ b/frontend-modern/src/components/shared/SummaryRowActionButton.tsx
@@ -26,7 +26,7 @@ type SummaryRowActionButtonProps =
};
const DISCLOSURE_BUTTON_CLASS = [
- 'inline-flex h-11 w-11 shrink-0 items-center justify-center rounded-md text-muted transition-colors sm:h-6 sm:w-6',
+ 'inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-md text-muted transition-colors sm:h-6 sm:w-6',
'hover:bg-surface hover:text-base-content',
SUMMARY_ROW_ACTION_BUTTON_FOCUS_CLASS,
].join(' ');
diff --git a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
index abf109b78e..712a6bcbcc 100644
--- a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
@@ -106,8 +106,8 @@ describe('MobileNavBar', () => {
const fixedRail = container.querySelector('[data-mobile-nav-rail="fixed"]');
expect(fixedRail).toBeTruthy();
- expect(fixedRail).toHaveClass('py-1');
- expect(fixedRail).not.toHaveClass('py-1.5');
+ expect(fixedRail).toHaveClass('px-0.5', 'py-0.5');
+ expect(fixedRail).not.toHaveClass('py-1');
expect(
Array.from(fixedRail?.querySelectorAll('button[data-tab-id]') ?? []).map((button) =>
button.getAttribute('data-tab-id'),
@@ -135,7 +135,7 @@ describe('MobileNavBar', () => {
);
const fixedProxmox = fixedRail?.querySelector('[data-tab-id="proxmox"]');
- expect(fixedProxmox).toHaveClass('min-h-11', 'gap-0.5', 'py-0.5', 'text-[10px]');
+ expect(fixedProxmox).toHaveClass('min-h-10', 'gap-0', 'py-0.5', 'text-[9px]');
});
it('preserves route callbacks for fixed and overflow destinations', async () => {
diff --git a/frontend-modern/src/components/shared/__tests__/Subtabs.test.tsx b/frontend-modern/src/components/shared/__tests__/Subtabs.test.tsx
index b42d81060f..924c344542 100644
--- a/frontend-modern/src/components/shared/__tests__/Subtabs.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/Subtabs.test.tsx
@@ -22,13 +22,14 @@ describe('Subtabs', () => {
const tablist = screen.getByRole('tablist', { name: 'Resource detail sections' });
expect(tablist).toHaveClass('overflow-x-auto');
expect(tablist).toHaveClass('scrollbar-hide');
- expect(tablist).toHaveClass('gap-4', 'sm:gap-6');
+ expect(tablist).toHaveClass('gap-3', 'sm:gap-6');
expect(tablist).not.toHaveClass('flex-wrap');
const historyTab = within(tablist).getByRole('tab', { name: 'History' });
expect(historyTab).toHaveAttribute('aria-selected', 'true');
expect(historyTab).toHaveClass('shrink-0');
expect(historyTab).toHaveClass('whitespace-nowrap');
+ expect(historyTab).toHaveClass('min-h-9', 'text-xs', 'sm:min-h-10', 'sm:text-sm');
});
it('scrolls a newly selected tab into view', async () => {
diff --git a/frontend-modern/src/components/shared/__tests__/SummaryRowActionButton.test.tsx b/frontend-modern/src/components/shared/__tests__/SummaryRowActionButton.test.tsx
index cf78cd995a..aa0ddefb1f 100644
--- a/frontend-modern/src/components/shared/__tests__/SummaryRowActionButton.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/SummaryRowActionButton.test.tsx
@@ -16,8 +16,8 @@ describe('SummaryRowActionButton', () => {
));
const button = screen.getByRole('button', { name: 'Collapse alpha' });
- expect(button).toHaveClass('h-11');
- expect(button).toHaveClass('w-11');
+ expect(button).toHaveClass('h-9');
+ expect(button).toHaveClass('w-9');
expect(button).toHaveClass('sm:h-6');
expect(button).toHaveClass('sm:w-6');
expect(button).toHaveAttribute('aria-expanded', 'true');
diff --git a/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts b/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts
index 945ca57b8a..9de1cfe75e 100644
--- a/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts
+++ b/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts
@@ -265,7 +265,7 @@ describe('mobileNavBarModel.branchcov2', () => {
describe('getMobileNavTabButtonClass', () => {
const BASE =
- 'relative flex min-h-11 min-w-0 flex-1 select-none flex-col items-center justify-center gap-0.5 rounded-md px-1 py-0.5 text-[10px] font-medium transition-colors';
+ 'relative flex min-h-10 min-w-0 flex-1 select-none flex-col items-center justify-center gap-0 rounded-md px-1 py-0.5 text-[9px] font-medium transition-colors';
const ACTIVE = 'bg-blue-50 text-blue-700 dark:bg-blue-900 dark:text-blue-300';
const MUTED = 'text-muted';
diff --git a/frontend-modern/src/components/shared/mobileNavBarModel.ts b/frontend-modern/src/components/shared/mobileNavBarModel.ts
index 17e78f1803..effc3adee4 100644
--- a/frontend-modern/src/components/shared/mobileNavBarModel.ts
+++ b/frontend-modern/src/components/shared/mobileNavBarModel.ts
@@ -177,7 +177,7 @@ export function getMobileNavTabButtonClass(options: {
active: boolean;
enabled?: boolean;
}): string {
- return `relative flex min-h-11 min-w-0 flex-1 select-none flex-col items-center justify-center gap-0.5 rounded-md px-1 py-0.5 text-[10px] font-medium transition-colors ${
+ return `relative flex min-h-10 min-w-0 flex-1 select-none flex-col items-center justify-center gap-0 rounded-md px-1 py-0.5 text-[9px] font-medium transition-colors ${
options.active ? 'bg-blue-50 text-blue-700 dark:bg-blue-900 dark:text-blue-300' : 'text-muted'
} ${options.enabled === false ? 'opacity-70' : ''}`.trim();
}
diff --git a/frontend-modern/src/features/proxmox/ProxmoxNodesTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxNodesTable.tsx
index c10685f086..9602afec80 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxNodesTable.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxNodesTable.tsx
@@ -237,6 +237,7 @@ export const ProxmoxNodesTable: Component<{
>
<PlatformTableShell
title="Nodes"
+ cardClass="proxmox-nodes-card"
tableClass={`${getProxmoxHostTableMinWidthClass(layoutMode())} table-fixed text-xs`}
colgroup={
<colgroup>
diff --git a/frontend-modern/src/index.css b/frontend-modern/src/index.css
index e92928e8bd..71081d07e0 100644
--- a/frontend-modern/src/index.css
+++ b/frontend-modern/src/index.css
@@ -454,11 +454,11 @@
@media (max-width: 640px) {
.pulse-shell {
max-width: 100%;
- padding-inline: 0.375rem;
+ padding-inline: 0.25rem;
}
.pulse-shell--full-width {
- --pulse-shell-padding-inline: 0.375rem;
+ --pulse-shell-padding-inline: 0.25rem;
}
}
@@ -474,19 +474,48 @@
@media (max-width: 640px) {
.pulse-panel {
- padding: 0.375rem;
+ padding: 0.25rem;
}
- /* Phone layouts keep the same hierarchy while spending less of the first
- viewport on repeated whitespace. Primary navigation and row expand
- controls retain 44px touch targets; the surrounding shell is tightened. */
+ /* Phone layouts use an explicit compact operating mode. Controls remain
+ above the WCAG 2.2 minimum while table geometry and repeated chrome are
+ reduced enough to expose materially more live infrastructure at once. */
.pulse-panel [data-page-header] + * {
- margin-top: 0.75rem !important;
+ margin-top: 0.5rem !important;
}
.pulse-wide-data-surface.space-y-3 > :not([hidden]) ~ :not([hidden]),
.pulse-wide-data-surface.space-y-4 > :not([hidden]) ~ :not([hidden]) {
- margin-top: 0.5rem;
+ margin-top: 0.375rem;
+ }
+
+ .filter-bar {
+ margin-bottom: 0.375rem;
+ padding: 0.25rem;
+ }
+
+ .filter-bar > div {
+ gap: 0.25rem;
+ }
+
+ .filter-bar > div > div:first-child {
+ gap: 0.25rem;
+ }
+
+ .filter-bar input {
+ min-height: 2.25rem;
+ padding-top: 0.25rem;
+ padding-bottom: 0.25rem;
+ font-size: 0.75rem;
+ }
+
+ .filter-bar > div > div:first-child button {
+ height: 2.25rem;
+ min-height: 2.25rem;
+ }
+
+ .proxmox-nodes-card > :first-child {
+ display: none;
}
.pulse-wide-data-surface .table-scroll-shell > .table-fixed tbody td,
@@ -495,11 +524,31 @@
padding-bottom: 0;
}
+ .pulse-wide-data-surface .table-scroll-shell > .table-fixed th {
+ padding-top: 0.1875rem;
+ padding-bottom: 0.1875rem;
+ line-height: 1rem;
+ }
+
+ .pulse-wide-data-surface .host-row,
+ .pulse-wide-data-surface .workload-row {
+ height: 2.25rem;
+ }
+
+ .pulse-wide-data-surface .host-row > td:first-child > div,
+ .pulse-wide-data-surface .workload-row [data-workload-col='name'] > div {
+ gap: 0.25rem;
+ }
+
.pulse-wide-data-surface .grouped-table-row > td > div {
column-gap: 0.375rem;
row-gap: 0.25rem;
}
+ .pulse-wide-data-surface .grouped-table-row {
+ height: 1.75rem;
+ }
+
.pulse-footer {
display: flex;
min-height: 2rem;
@@ -1141,8 +1190,8 @@ body,
padding-bottom: env(safe-area-inset-bottom, 0px);
}
-.pb-safe-or-16 {
- padding-bottom: max(4rem, env(safe-area-inset-bottom, 4rem));
+.pb-safe-or-14 {
+ padding-bottom: max(3.5rem, env(safe-area-inset-bottom, 3.5rem));
}
/* Login page animations */