Skip to content

Commit

Permalink
FIX: make eye icon for a password field compatible with RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
girafffee committed Jul 27, 2024
1 parent 1f38cf1 commit 3f30323
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/blocks-v2/text-field/assets/build/editor.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '3723549cf1d656215adc');
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '870de3eb819f41461adc');
2 changes: 1 addition & 1 deletion modules/blocks-v2/text-field/assets/build/editor.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'fdcba2bd90226fb98b82');
<?php return array('dependencies' => array(), 'version' => '83ba65e73573dcd29e98');

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions modules/blocks-v2/text-field/assets/src/shared/eye.icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
user-select: none;
line-height: 0;

.rtl & {
left: 5px;
right: unset;
}

.unseen-icon, .seen-icon {
display: none;
}
Expand Down

0 comments on commit 3f30323

Please sign in to comment.