From b73241ceb175b437c114dae686c9cffb69396e41 Mon Sep 17 00:00:00 2001 From: Adam Strzelecki Date: Thu, 3 Dec 2015 01:15:40 +0100 Subject: UI: Display last-commit header without 2nd column This uses a CSS trick making first th to be relative block with width equal to first two columns, effectively working around inability to use colspan="2" on first row that was breaking "fixed-layout" for tables. Also use grey header for last-commit SHA1 tag. --- public/css/gogs.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'public/css') diff --git a/public/css/gogs.css b/public/css/gogs.css index eb6188b3..c3ac5ffc 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1859,6 +1859,11 @@ footer .container .links > *:first-child { padding-bottom: 5px; font-weight: normal; } +.repository.file.list #repo-files-table thead th:first-child { + display: block; + position: relative; + width: 325%; +} .repository.file.list #repo-files-table thead .ui.avatar { margin-bottom: 5px; } -- cgit v1.2.3