Skip to content

Commit

Permalink
[connect] [ui] Updated the permissions tooltip to show when hovering …
Browse files Browse the repository at this point in the history
…the title, not only the question mark icon.
  • Loading branch information
vovafeldman committed Feb 8, 2021
1 parent ae7e5c6 commit a18b0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ class="fs-permission fs-<?php echo esc_attr( $id ); ?>">
<?php endif ?>

<div class="fs-permission-description">
<span><?php echo esc_html( $permission['label'] ); ?><?php if ( ! empty($permission['tooltip']) ) : ?><i class="dashicons dashicons-editor-help fs-tooltip-trigger <?php echo is_rtl() ? ' rtl' : '' ?>"><span class="fs-tooltip" style="width: 200px"><?php echo $permission['tooltip'] ?></span></i><?php endif ?></span>
<span<?php if ( ! empty($permission['tooltip']) ) : ?> class="fs-tooltip-trigger"<?php endif ?>><?php echo esc_html( $permission['label'] ); ?><?php if ( ! empty($permission['tooltip']) ) : ?><i class="dashicons dashicons-editor-help"><span class="fs-tooltip" style="width: 200px"><?php echo $permission['tooltip'] ?></span></i><?php endif ?></span>

<p><?php echo esc_html( $permission['desc'] ); ?></p>
</div>
Expand Down

0 comments on commit a18b0c9

Please sign in to comment.