| @@ -4,8 +4,9 @@ | ||
| 4 | 4 | |
| 5 | 5 | use Tableberg; |
| 6 | 6 | |
| 7 | 7 | class Tableberg_Admin { |
| 8 | + private $plugin_name; | |
| 8 | 9 | private $plugin_url; |
| 9 | 10 | |
| 10 | 11 | public function __construct() { |
| 11 | 12 | |
| @@ -175,9 +176,9 @@ | ||
| 175 | 176 | $diff_interval = round(($datetime2->format('U') - $datetime1->format('U')) / (60 * 60 * 24)); |
| 176 | 177 | |
| 177 | 178 | if ($diff_interval >= 21 && get_option('tableberg_review_notify') == 'no') { |
| 178 | 179 | ?> |
| 179 | - <div class="tableberg-review-notice notice notice-info" style="display: inline-block; position: relative; padding:0.5rem 1.5rem"> | |
| 180 | + <div class="tableberg-review-notice notice notice-info" style="position: relative; padding:0.5rem 1.5rem"> | |
| 180 | 181 | <button type="button" class="notice-dismiss Tableberg_HideReview_Notice" style="position: absolute; top: 2px; right: 2px;"> |
| 181 | 182 | <span class="screen-reader-text"><?php esc_html_e('Dismiss this notice.', 'tableberg'); ?></span> |
| 182 | 183 | </button> |
| 183 | 184 | <p style="font-size: 14px; line-height: 2;padding-right:2rem"> |