@datarailsshared/dr_renderer 1.2.87 → 1.2.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/dr_pivottable.js +2 -6
package/package.json
CHANGED
package/src/dr_pivottable.js
CHANGED
|
@@ -701,9 +701,7 @@ let initDRPivotTable = function($, window, document) {
|
|
|
701
701
|
if(color_to_set){
|
|
702
702
|
element.style.setProperty("background-color", color_to_set, "important");
|
|
703
703
|
element.style.setProperty("border-color", color_to_set, "important");
|
|
704
|
-
element.style.color =
|
|
705
|
-
? invertColors(color_to_set)
|
|
706
|
-
: '#3a3b39';
|
|
704
|
+
element.style.color = invertColors(color_to_set);
|
|
707
705
|
element.style.fontWeight = "bold";
|
|
708
706
|
if (opts.chartOptions.table_options.freeze_panes && element.firstChild) {
|
|
709
707
|
for (const child of element.children) {
|
|
@@ -733,9 +731,7 @@ let initDRPivotTable = function($, window, document) {
|
|
|
733
731
|
element.style.setProperty("background-color", color_to_set, "important");
|
|
734
732
|
element.style.setProperty("border-color", color_to_set, "important");
|
|
735
733
|
element.style.setProperty("vertical-align", "baseline");
|
|
736
|
-
element.style.color =
|
|
737
|
-
? invertColors(color_to_set)
|
|
738
|
-
: '#3a3b39';
|
|
734
|
+
element.style.color = invertColors(color_to_set);
|
|
739
735
|
element.style.fontWeight = "bold";
|
|
740
736
|
if (opts.chartOptions.table_options.freeze_panes && element.firstChild) {
|
|
741
737
|
for (const child of element.children) {
|