From 8dcca1b2e0f9a9a1933e2bc1c4361a9efa7cc37d Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 3 Aug 2026 20:45:37 -1000 Subject: Right-align the repo owner to the header edge --- assets/cgit.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/cgit.css b/assets/cgit.css index 56beb78..878e96c 100644 --- a/assets/cgit.css +++ b/assets/cgit.css @@ -202,9 +202,12 @@ div#cgit button:focus-visible { div#cgit #header { display: grid; grid-template-columns: auto 1fr auto auto; + /* The owner spans the switcher and toggle columns so it right-aligns + * to the same edge as the toggle above it. Confined to the switcher + * column alone it stopped short by the toggle's width plus the gap. */ grid-template-areas: "logo heading switch theme" - "logo desc owner ."; + "logo desc owner owner"; align-items: center; column-gap: 10px; width: 100%; -- cgit 2.12.1