summaryrefslogtreecommitdiffstats
path: root/public/css
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-12-03 01:15:40 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-03 01:15:40 +0100
commitb73241ceb175b437c114dae686c9cffb69396e41 (patch)
tree8be78b11a3a30eeadd440d94f7ab0f4117c12bed /public/css
parent314664892c42741e2ff905bead8b7e8105aecaca (diff)
downloadgitea-b73241ceb175b437c114dae686c9cffb69396e41.tar.gz
gitea-b73241ceb175b437c114dae686c9cffb69396e41.zip
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.
Diffstat (limited to 'public/css')
-rwxr-xr-xpublic/css/gogs.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index eb6188b37f..c3ac5ffce1 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;
}