From cf23438a5cb60b62d80e5a966d5b2186da8a8021 Mon Sep 17 00:00:00 2001 From: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> Date: Tue, 4 Aug 2026 16:21:39 +0000 Subject: [PATCH] Place OS version badge inline right after the Hub title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mirrors the service modal pattern where the version badge sits to the right of the title: .title-group switches from a centered column (badge under the title, PR #377) to a centered row with the badge vertically centered directly after "Sovran_SystemsOS Hub". flex-wrap keeps a graceful fallback: on very narrow screens the badge wraps below the title, centered — the previous stacked look. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com> --- app/sovran_systemsos_web/static/css/header.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/sovran_systemsos_web/static/css/header.css b/app/sovran_systemsos_web/static/css/header.css index e225313..862b643 100644 --- a/app/sovran_systemsos_web/static/css/header.css +++ b/app/sovran_systemsos_web/static/css/header.css @@ -31,10 +31,11 @@ .title-group { display: flex; - flex-direction: column; + flex-direction: row; + flex-wrap: wrap; align-items: center; justify-content: center; - gap: 6px; + gap: 6px 10px; } .header-buttons { @@ -53,7 +54,8 @@ letter-spacing: 0.03em; } -/* ── OS Version Badge (polished) ───────────────────────────────── */ +/* ── OS Version Badge (inline, right after "Hub" in the title ──── + ── mirrors the version badge next to modal titles) ────────────── */ .os-version-badge { display: inline-flex; align-items: center; @@ -67,7 +69,7 @@ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; - align-self: center; + flex-shrink: 0; } .os-version-badge:hover {