# HG changeset patch # User domruf # Date 2017-10-30 01:26:31 # Node ID 1fa33126ed25438a9aacad81661752edc5fecbfe # Parent 7603ce3383c458ced92fc28e7a7e6cb44a81cd51 less: make pull request 'next iteration' changeset table smaller and scrollable This property was lost in 88ce09daea37. When the whole list is made scrollable, the graph can no longer be positioned absolute. Instead, make it relative so it scrolls with the content ... and 0 height (with the graph overflowing) so the table content will be shown next to the overflowing graph. diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -816,8 +816,9 @@ table#changesets tr > td.mid .message a: text-decoration: none; } #updaterevs-graph { - position: absolute; + position: relative; width: 40px; + height: 0; } #updaterevs-table { margin-left: 40px !important; @@ -1448,6 +1449,12 @@ span.pr-closed-tag { margin: 20px 0 0 !important; position: absolute; } +/* make 'next iteration' changeset table smaller and scrollable */ +#pr-summary #updaterevs { + max-height: 200px; + overflow-y: auto; + overflow-x: hidden; +} /**** PERMS *****/ diff --git a/kallithea/public/less/style.less b/kallithea/public/less/style.less --- a/kallithea/public/less/style.less +++ b/kallithea/public/less/style.less @@ -613,8 +613,9 @@ table#changesets tr > td.mid .message a: text-decoration: none; } #updaterevs-graph { - position: absolute; + position: relative; width: 40px; + height: 0; } #updaterevs-table { margin-left: 40px !important; @@ -1143,6 +1144,13 @@ span.pr-closed-tag { margin: 20px 0 0 !important; position: absolute; } +/* make 'next iteration' changeset table smaller and scrollable */ +#pr-summary #updaterevs { + max-height: 200px; + overflow-y: auto; + overflow-x: hidden; +} + /**** PERMS *****/