Skip to content

Commit 21c2cc3

Browse files
issue comments
#307 (comment)
1 parent 49366df commit 21c2cc3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

classes/Visualizer/Module/Admin.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@ public static function _getChartTypesLocalized( $enabledOnly = false, $get2Darra
290290
$types = array_merge(
291291
$additional,
292292
array(
293+
'dataTable' => array(
294+
'name' => esc_html__( 'Table (New)', 'visualizer' ),
295+
'enabled' => true,
296+
),
293297
'pie' => array(
294298
'name' => esc_html__( 'Pie', 'visualizer' ),
295299
'enabled' => true,
@@ -326,10 +330,6 @@ public static function _getChartTypesLocalized( $enabledOnly = false, $get2Darra
326330
'name' => esc_html__( 'Candlestick', 'visualizer' ),
327331
'enabled' => true,
328332
),
329-
'dataTable' => array(
330-
'name' => esc_html__( 'Table (New)', 'visualizer' ),
331-
'enabled' => true,
332-
),
333333
// pro types
334334
'table' => array(
335335
'name' => esc_html__( 'Table (Deprecated)', 'visualizer' ),

css/library.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,4 +290,8 @@ input:checked + .visualizer-slider:before {
290290

291291
button.media-modal-close {
292292
display: none !important;
293+
}
294+
295+
.dataTables_scrollBody {
296+
overflow: hidden !important;
293297
}

0 commit comments

Comments
 (0)