Couple of first-minute fixes
Fixes paste with no formatting not receiving correct fill color Fixes style not working correctly on Nightly 131 with all the scrollbox changes
This commit is contained in:
@@ -9,6 +9,7 @@ See the above repository for updates as well as full license text. */
|
|||||||
.textbox-contextmenu,
|
.textbox-contextmenu,
|
||||||
#contentAreaContextMenu{
|
#contentAreaContextMenu{
|
||||||
--uc-scrollbox-display: grid;
|
--uc-scrollbox-display: grid;
|
||||||
|
--uc-scrollbox-slot: contents;
|
||||||
}
|
}
|
||||||
:where(#contentAreaContextMenu,.textbox-contextmenu) > :is(menu,menuitem,menuseparator,menugroup){
|
:where(#contentAreaContextMenu,.textbox-contextmenu) > :is(menu,menuitem,menuseparator,menugroup){
|
||||||
grid-column: 1/7
|
grid-column: 1/7
|
||||||
@@ -20,6 +21,9 @@ scrollbox[orient="vertical"][smoothscroll="false"]{
|
|||||||
grid-auto-columns: min-content;
|
grid-auto-columns: min-content;
|
||||||
grid-template-columns: 1fr 1fr 1fr min-content 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr min-content 1fr 1fr;
|
||||||
}
|
}
|
||||||
|
scrollbox[orient="vertical"][smoothscroll="false"] > slot{
|
||||||
|
display: var(--uc-scrollbox-slot,initial) !important;
|
||||||
|
}
|
||||||
#context-cut:not([hidden]) + #context-copy,
|
#context-cut:not([hidden]) + #context-copy,
|
||||||
#context-pdfjs-cut:not([hidden]) + #context-pdfjs-copy,
|
#context-pdfjs-cut:not([hidden]) + #context-pdfjs-copy,
|
||||||
#context-cut,
|
#context-cut,
|
||||||
@@ -69,6 +73,8 @@ scrollbox[orient="vertical"][smoothscroll="false"]{
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: bottom 10% left 20%;
|
background-position: bottom 10% left 20%;
|
||||||
background-size: 50%;
|
background-size: 50%;
|
||||||
|
fill: currentColor;
|
||||||
|
-moz-context-properties: fill;
|
||||||
&::before{
|
&::before{
|
||||||
content url("chrome://global/skin/reader/RM-Serif.svg");
|
content url("chrome://global/skin/reader/RM-Serif.svg");
|
||||||
mask-image: radial-gradient(ellipse at bottom left,transparent 30%, black 32%,black);
|
mask-image: radial-gradient(ellipse at bottom left,transparent 30%, black 32%,black);
|
||||||
|
|||||||
Reference in New Issue
Block a user