From e1f7566036035600a7f587b91fe173136e4d386b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 2 Aug 2026 09:56:40 -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 v2.8.0