changeset 7051:1fa33126ed25

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.
author domruf <dominikruf@gmail.com>
date Mon, 30 Oct 2017 01:26:31 +0100
parents 7603ce3383c4
children 0ca92e5657cc
files kallithea/public/css/style.css kallithea/public/less/style.less
diffstat 2 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Sun Oct 29 23:35:45 2017 +0100
+++ b/kallithea/public/css/style.css	Mon Oct 30 01:26:31 2017 +0100
@@ -816,8 +816,9 @@
   text-decoration: none;
 }
 #updaterevs-graph {
-  position: absolute;
+  position: relative;
   width: 40px;
+  height: 0;
 }
 #updaterevs-table {
   margin-left: 40px !important;
@@ -1448,6 +1449,12 @@
   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
 *****/
--- a/kallithea/public/less/style.less	Sun Oct 29 23:35:45 2017 +0100
+++ b/kallithea/public/less/style.less	Mon Oct 30 01:26:31 2017 +0100
@@ -613,8 +613,9 @@
   text-decoration: none;
 }
 #updaterevs-graph {
-  position: absolute;
+  position: relative;
   width: 40px;
+  height: 0;
 }
 #updaterevs-table {
   margin-left: 40px !important;
@@ -1143,6 +1144,13 @@
   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
 *****/