Added z-index setting for all alerts.
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
|
||||
if (!defined('ABSPATH')) exit;
|
||||
|
||||
$index = \OgreAlert\Settings::get('message_index');
|
||||
if (!is_numeric($index)) $index = 10001;
|
||||
|
||||
?>
|
||||
<section class="ogrealert-messages ogrealert-position-<?php esc_attr_e(\OgreAlert\Settings::get('message_position')); ?>">
|
||||
<section class="ogrealert-messages ogrealert-position-<?php esc_attr_e(\OgreAlert\Settings::get('message_position')); ?>" style="--messages-index: <?php echo intval($index); ?>">
|
||||
<ul class="ogrealert-messages__list">
|
||||
|
||||
Reference in New Issue
Block a user