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 {