From 4430967fe6b00f3cfc1ad476eabd8cea1a7e16d1 Mon Sep 17 00:00:00 2001 From: KN4CK3R Date: Thu, 1 Apr 2021 22:01:23 +0200 Subject: [PATCH] Fix graph pagination (#15225) * Fixed invalid HTML tag. * Fixed pagination. * Update templates/repo/graph/commits.tmpl Co-authored-by: zeripath Co-authored-by: zeripath Co-authored-by: techknowlogick Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao --- templates/repo/graph/commits.tmpl | 4 ++-- web_src/less/features/gitgraph.less | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/repo/graph/commits.tmpl b/templates/repo/graph/commits.tmpl index 9f7a6c1c66978..8cd6adb04d8e2 100644 --- a/templates/repo/graph/commits.tmpl +++ b/templates/repo/graph/commits.tmpl @@ -1,9 +1,9 @@
    {{ range $commitI, $commit := .Graph.Commits }} -
  • +
  • {{ if $commit.OnlyRelation }} - + {{ else }} {{$class := "ui sha label"}} diff --git a/web_src/less/features/gitgraph.less b/web_src/less/features/gitgraph.less index fa37eba02c9bd..dd01ae4bc5682 100644 --- a/web_src/less/features/gitgraph.less +++ b/web_src/less/features/gitgraph.less @@ -1,6 +1,4 @@ #git-graph-container { - float: left; - display: block; overflow-x: scroll; width: 100%; min-height: 350px;