changeset 7237:ac57e45ed903

graph: make sure graph is shown next to the table it belongs to For some screens sizes (for example around 800 px), the graph with changes available for PR update wasn't shown next to the corresponding table. The two boxes would float vertically and be rendered after each other. To fix that, use the same trick as before 02aef1484695: set the graph height to 0 and give the table a left margin leaving room for the graph. (The fancyness of Bootstrap grids does in this case seem to only get in the way. Plain percent would perhaps work better.)
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 08 Apr 2018 15:57:18 +0200
parents 0d39e48baec0
children 70262a0dca6b
files kallithea/public/less/style.less
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/less/style.less	Mon Apr 02 18:37:23 2018 +0200
+++ b/kallithea/public/less/style.less	Sun Apr 08 15:57:18 2018 +0200
@@ -683,10 +683,12 @@
 #graph_nodes,
 #updaterevs-graph {
   .make-xs-column(1);
+  height: 0;
 }
 #graph_content,
 #graph_content_pr,
 #updaterevs-table {
+  .make-xs-column-offset(1);
   .make-xs-column(11);
 }