[Rt-commit] rt branch, 4.6/chart-pages-styling, created. rt-4.4.4-768-g2f7266776

Michel Rodriguez michel at bestpractical.com
Thu Feb 13 15:34:48 EST 2020


The branch, 4.6/chart-pages-styling has been created
        at  2f7266776fecd9f57ffab7a01ca32714fc395873 (commit)

- Log -----------------------------------------------------------------
commit e3ddbf40d4807ee176e2c2991aa6567074c8c250
Author: michel <michel at bestpractical.com>
Date:   Thu Feb 13 19:37:01 2020 +0100

    Increase the size of the Width and Height input fields.

diff --git a/share/static/css/elevator-light/charts.css b/share/static/css/elevator-light/charts.css
index d2e9b1ee1..6940b8a52 100644
--- a/share/static/css/elevator-light/charts.css
+++ b/share/static/css/elevator-light/charts.css
@@ -12,7 +12,7 @@
 
 .chart-picture input[name=Width],
 .chart-picture input[name=Height] {
-    width: 3em;
+    width: 4em;
     text-align: right;
 }
 

commit 2f7266776fecd9f57ffab7a01ca32714fc395873
Author: michel <michel at bestpractical.com>
Date:   Thu Feb 13 21:27:42 2020 +0100

    Move the data table in charts lower, aligned with the chart.

diff --git a/share/html/Search/Elements/Chart b/share/html/Search/Elements/Chart
index 862765d18..50c440523 100644
--- a/share/html/Search/Elements/Chart
+++ b/share/html/Search/Elements/Chart
@@ -91,7 +91,7 @@ if ( RT->Config->Get('EnableJSChart') || !RT->Config->Get('DisableGD') ) {
           </div>
 % }
         </div>
-        <div class="col-auto">
+        <div class="col-auto chart-table-wrapper">
 % if ( ($ChartStyle || '') =~ /\btable\b/ ) {
           <& ChartTable, %ARGS, Table => { $report->FormatTable( %columns ) } &>
 % }
diff --git a/share/static/css/elevator-light/charts.css b/share/static/css/elevator-light/charts.css
index 6940b8a52..8a1382583 100644
--- a/share/static/css/elevator-light/charts.css
+++ b/share/static/css/elevator-light/charts.css
@@ -30,3 +30,8 @@
 .cascade-by-optgroup {
     margin-right: 5px;
 }
+
+.chart-table-wrapper {
+    margin-top:auto;
+    padding-left: 5px;
+}

-----------------------------------------------------------------------


More information about the rt-commit mailing list