# HG changeset patch # User Mads Kiilerich # Date 2018-04-08 15:57:18 # Node ID ac57e45ed90357af1ef64ff57c66a8bff06c2142 # Parent 0d39e48baec0d456b6cb61c214c46006d843bcc8 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.) 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 @@ -683,10 +683,12 @@ div.comment-prev-next-links div.next-com #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); }