mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-27 09:27:20 +02:00
Merge pull request #20500 from calixteman/fix_menu_rtl
Fix the position of the checkmark when the menu is displayed in RTL
This commit is contained in:
commit
6c746260a9
@ -111,7 +111,7 @@
|
|||||||
mask-image: var(--menuitem-checkmark-icon);
|
mask-image: var(--menuitem-checkmark-icon);
|
||||||
background-color: var(--menu-text-color);
|
background-color: var(--menu-text-color);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-left: -16px;
|
margin-inline-start: -16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:has(button:disabled) {
|
&:has(button:disabled) {
|
||||||
@ -178,7 +178,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: max-content;
|
width: max-content;
|
||||||
height: auto;
|
height: auto;
|
||||||
text-align: left;
|
text-align: start;
|
||||||
color: var(--menu-text-color);
|
color: var(--menu-text-color);
|
||||||
user-select: none;
|
user-select: none;
|
||||||
padding-inline-start: 6px;
|
padding-inline-start: 6px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user