Mercurial > kallithea
changeset 6738:ffb70a338ce1
style: fix display of the PR graph of changesets available for update
88ce09daea37 dropped explicit html styling - fix it by adding css styling.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 05 Jul 2017 01:57:32 +0200 |
parents | a755bacaa725 |
children | c20abcf4adb9 |
files | kallithea/public/css/style.css kallithea/templates/pullrequests/pullrequest_show.html |
diffstat | 2 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Wed Jun 28 21:26:21 2017 +0200 +++ b/kallithea/public/css/style.css Wed Jul 05 01:57:32 2017 +0200 @@ -1606,6 +1606,15 @@ text-decoration: none; } +#updaterevs-graph { + position: absolute; + width: 40px; +} + +#updaterevs-table { + margin-left: 40px !important; +} + #compare_branches + div.panel-body .revision-link, #compare_tags + div.panel-body .revision-link, #compare_bookmarks + div.panel-body .revision-link,
--- a/kallithea/templates/pullrequests/pullrequest_show.html Wed Jun 28 21:26:21 2017 +0200 +++ b/kallithea/templates/pullrequests/pullrequest_show.html Wed Jul 05 01:57:32 2017 +0200 @@ -150,7 +150,7 @@ <div class="msg-div">${c.update_msg}</div> %if c.avail_revs: <div id="updaterevs" class="clearfix"> - <div> + <div id="updaterevs-graph"> <canvas id="avail_graph_canvas"></canvas> </div> <table class="table" id="updaterevs-table">