commit 8b42ef8a83b07cc4a2492dc0cb24df0bbc3f8ecc
parent 5626a548d0b71d6ddfb136249264b7a739500c17
Author: Sarah Chung <sachung@mozilla.com>
Date: Wed, 17 Dec 2025 15:27:54 +0000
Bug 2005039 - Fix password tooltip icons in RTL build r=kpatenio,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D275463
Diffstat:
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/browser/components/backup/content/password-rules-tooltip.css b/browser/components/backup/content/password-rules-tooltip.css
@@ -13,18 +13,14 @@
ul {
margin: 0;
padding: 0;
- text-align: left;
+ text-align: start;
}
li {
- padding-left: 20px;
- list-style: none;
- background-image: url(chrome://global/skin/icons/check.svg);
+ list-style-image: url(chrome://global/skin/icons/check.svg);
+ list-style-position: inside;
-moz-context-properties: fill;
fill: currentColor;
- background-repeat: no-repeat;
- background-position: left center;
- background-size: 14px;
&:last-child {
margin-block-start: 0.5rem;
@@ -33,7 +29,7 @@
span {
position: relative;
- top: -1px;
+ top: -3px;
}
}
@@ -42,7 +38,7 @@
color: var(--icon-color-critical);
fill: var(--icon-color-critical);
stroke: var(--icon-color-critical);
- background-image: url(chrome://global/skin/icons/warning.svg);
+ list-style-image: url(chrome://global/skin/icons/warning.svg);
}
/* Arrow */