← All changes
|
includes/setup-wizard/ultimate-post-kit-others-plugin.php
+5
-6
4.5.3
→
4.5.6
View file →
| @@ -261,13 +261,9 @@ | ||
| 261 | 261 | '<h1 class="upk-feature-title">' + upkEsc(pluginName) + '</h1>' + |
| 262 | 262 | '</div>' + |
| 263 | 263 | '</div>' + |
| 264 | 264 | '<div class="bdt-others-plugin-content-text bdt-margin-top">'; |
| 265 | - | |
| 266 | - if (plugin.description) { | |
| 267 | - html += '<p>' + upkEsc(plugin.description) + '</p>'; | |
| 268 | - } | |
| 269 | - | |
| 265 | + | |
| 270 | 266 | // Active installs |
| 271 | 267 | var installsCount = Number(plugin.active_installs_count) || 0; |
| 272 | 268 | html += '<span class="active-installs bdt-margin-small-top">' + |
| 273 | 269 | '<?php echo esc_js(__('Active Installs: ', 'ultimate-post-kit')); ?> '; |
| @@ -456,9 +452,12 @@ | ||
| 456 | 452 | '</div>' + |
| 457 | 453 | '<p class="bdt-margin-small-top bdt-text-muted"><?php echo esc_js(__('Loading plugin data...', 'ultimate-post-kit')); ?></p>' + |
| 458 | 454 | '</div>' |
| 459 | 455 | ); |
| 460 | - $list.show(); | |
| 456 | + // Set the display explicitly: the list is a CSS grid, and jQuery's | |
| 457 | + // .show() can resolve the inline display:none to "block", which would | |
| 458 | + // flatten the card grid into a single stacked column. | |
| 459 | + $list.css('display', 'grid'); | |
| 461 | 460 | } |
| 462 | 461 | |
| 463 | 462 | // Function to show error |
| 464 | 463 | function showError() { |