From a0bbdaeb15ab596218493f9b8091a357e3ad5b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 20 Oct 2026 18:12:39 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20server=20settings=20hea?= =?UTF-8?q?der=20lede=20under=20the=20title,=20read-only=20boxes=20match?= =?UTF-8?q?=20inputs,=20space=20under=20tabs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style/_pull.scss | 5 +++++ style/_repo.scss | 2 +- style/main.scss | 28 ++++++++++++++++++++++++++-- 3 files changed, 32 insertions(+), 3 deletions(-) diff --git a/style/_pull.scss b/style/_pull.scss index da2b57e..aa30f79 100644 --- a/style/_pull.scss +++ b/style/_pull.scss @@ -674,6 +674,11 @@ } } +// A card right under the tab bar (admin tabbed pages) gets breathing room. +.subnav + .card { + margin-top: 16px; +} + // Narrow screens: the diff scrolls inside its own box, never the page. @media (max-width: 600px) { diff --git a/style/_repo.scss b/style/_repo.scss index e55ae2e..bc9130c 100644 --- a/style/_repo.scss +++ b/style/_repo.scss @@ -5,7 +5,7 @@ // Header: name with the visibility pill on the left, outline actions on the right. .page-head { align-items: flex-start; - gap: 16px 24px; + gap: 6px 24px; margin-bottom: 12px; } diff --git a/style/main.scss b/style/main.scss index 2161b7c..5f688bb 100644 --- a/style/main.scss +++ b/style/main.scss @@ -307,9 +307,19 @@ main { display: flex; align-items: center; justify-content: space-between; - gap: 12px; + gap: 4px 12px; flex-wrap: wrap; margin-bottom: 16px; + + // A lede under the title sits on its own line, left aligned. + > p { + flex: 1 0 100%; + margin: 0; + } + + > h1:has(+ p) { + margin-bottom: 0; + } } .repo-title { @@ -6195,8 +6205,22 @@ button.ci-job-last { } } -.srv-fixed { +.srv-field .srv-fixed { + display: flex; + align-items: center; + box-sizing: border-box; + width: 100%; + min-height: var(--control-h); + padding: 0 12px; + border: 1px solid var(--border); + border-radius: var(--radius-md); + background: var(--code-bg); + color: var(--text-2); + font-family: var(--mono); + font-size: inherit; + line-height: 1.25rem; overflow-wrap: anywhere; + word-break: normal; } .srv-reset {