Fixed offscreen placeholder container preventing user interaction on the left of placeholders (tor-browser#43282).

This commit is contained in:
hackademix 2024-11-11 18:59:23 +01:00
parent 4262af3219
commit ae6af7996c
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,7 @@ a.__NoScript_PlaceHolder__ {
opacity: 0.8; opacity: 0.8;
z-index: 2147483647 !important; z-index: 2147483647 !important;
background-image: var(--img-logo); background-image: var(--img-logo);
border-radius: 4px;
} }
a.__NoScript_PlaceHolder__.mozilla { a.__NoScript_PlaceHolder__.mozilla {
@ -88,13 +89,14 @@ a.__NoScript_PlaceHolder__ > span {
.__NoScript_PlaceHolder__ > span > span { .__NoScript_PlaceHolder__ > span > span {
display: block; display: block;
font-size: 18px; font-size: 18px;
background-color: var(--tab-color1);
border-radius: 8px; border-radius: 8px;
padding: 8px; padding: 8px;
margin: 0; margin: 0;
font-family: sans-serif; font-family: sans-serif;
overflow-wrap: break-word; overflow-wrap: break-word;
word-break: break-all; word-break: break-all;
background-color: var(--tab-color1);
background-color: rgba(from var(--tab-color1) r g b / 85%);
} }
.__NoScript_PlaceHolder__:hover > span > span { .__NoScript_PlaceHolder__:hover > span > span {
background-color: var(--bg-color2); background-color: var(--bg-color2);
@ -115,9 +117,9 @@ a.__NoScript_PlaceHolder__.__ns__document {
.__NoScript_Offscreen_PlaceHolders__ { .__NoScript_Offscreen_PlaceHolders__ {
display: flex; display: flex;
flex-direction: row-reverse; flex-direction: row-reverse;
width: 100%;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
right: 0;
} }
.__NoScript_Offscreen_PlaceHolders__ a.__NoScript_PlaceHolder__ { .__NoScript_Offscreen_PlaceHolders__ a.__NoScript_PlaceHolder__ {
height: 64px !important; height: 64px !important;