mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-14 22:35:45 +03:00
Add an element overlay, so that clicks outside of the popover can close the popover
This commit is contained in:
parent
cb571a176b
commit
2a66f3f870
3 changed files with 23 additions and 1 deletions
|
@ -6,6 +6,7 @@ defined( 'WPINC' ) || die();
|
|||
|
||||
?>
|
||||
<script type="text/template" id="tmpl-5ftf-send-link-dialog">
|
||||
<div id="send-link-dialog-bg" class="pledge-dialog__background" hidden data-no-inert></div>
|
||||
<div id="send-link-dialog" role="dialog" class="pledge-dialog" hidden tabindex="-1" aria-label="<?php esc_attr_e( 'Request to edit this pledge', 'wporg-5ftf' ); ?>">
|
||||
<p>
|
||||
<?php esc_html_e( 'Only pledge admins can edit pledges.', 'wporg-5ftf' ); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue