File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ function createScriptButton(script, isFavorite = false) {
333
333
tooltip . innerHTML = t ( script . description ) ;
334
334
335
335
if ( script . description ?. img ) {
336
- tooltip . innerHTML += `<img src="${ script . description . img } " style="width:80vw" />` ;
336
+ tooltip . innerHTML += `<img src="${ script . description . img } "/>` ;
337
337
}
338
338
if ( script . description ?. video ) {
339
339
let video = document . createElement ( "video" ) ;
Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ option {
454
454
border-radius : 6px ;
455
455
padding : 5px ;
456
456
pointer-events : none ;
457
- width : calc (100% - 40 px );
457
+ width : calc (100% );
458
458
position : absolute ;
459
459
z-index : 1 ;
460
460
top : 80% ;
@@ -463,6 +463,10 @@ option {
463
463
transition : all .1s ;
464
464
box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.2 );
465
465
466
+ & img {
467
+ max-width : 100% ;
468
+ }
469
+
466
470
& * {
467
471
color : @color_tooltip ;
468
472
}
Original file line number Diff line number Diff line change 1
1
# WORKING NOTES
2
2
3
- ## 28/04/2024 - 24 /05/2024
3
+ ## 28/04/2024 - 29 /05/2024
4
4
5
5
- [ ] options page for smooth scroll: disable for specific sites, config smooth, ...
6
6
You can’t perform that action at this time.
0 commit comments