File tree Expand file tree Collapse file tree 4 files changed +20
-6
lines changed Expand file tree Collapse file tree 4 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 25
25
"action" : {
26
26
"default_popup" : " popup.html"
27
27
},
28
+ "options_ui" : {
29
+ "page" : " popup.html" ,
30
+ "open_in_tab" : true
31
+ },
28
32
"content_scripts" : [
29
33
{
30
34
"matches" : [
Original file line number Diff line number Diff line change 25
25
"browser_action" : {
26
26
"default_popup" : " popup.html"
27
27
},
28
+ "options_ui" : {
29
+ "page" : " popup.html" ,
30
+ "open_in_tab" : true
31
+ },
28
32
"content_scripts" : [
29
33
{
30
34
"matches" : [
Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ function Donation() {
391
391
>
392
392
< img alt = "buymeacoffee" src = { bugmeacoffee } />
393
393
</ a >
394
- < hr />
394
+ < br />
395
395
< >
396
396
Wechat Pay
397
397
< img alt = "wechatpay" src = { wechatpay } />
@@ -465,7 +465,7 @@ function Popup() {
465
465
466
466
return (
467
467
< div className = "container" >
468
- < form >
468
+ < form style = "width:100%;" >
469
469
< Tabs selectedTabClassName = "popup-tab--selected" >
470
470
< TabList >
471
471
< Tab className = "popup-tab" > General</ Tab >
@@ -494,7 +494,7 @@ function Popup() {
494
494
) }
495
495
</ Tabs >
496
496
</ form >
497
- < hr />
497
+ < br />
498
498
< Footer currentVersion = { currentVersion } latestVersion = { latestVersion } />
499
499
</ div >
500
500
)
Original file line number Diff line number Diff line change 24
24
}
25
25
26
26
.container {
27
- width : 440px ;
28
- height : 560px ;
27
+ display : flex ;
28
+ flex-direction : column ;
29
+ align-items : center ;
30
+ min-width : 440px ;
31
+ min-height : 560px ;
32
+ width : 100% ;
33
+ height : 100% ;
29
34
padding : 20px ;
30
35
overflow-y : auto ;
31
36
}
44
49
45
50
.footer {
46
51
width : 90% ;
47
- position : absolute ;
52
+ position : fixed ;
48
53
bottom : 10px ;
49
54
display : flex ;
50
55
flex-direction : row ;
54
59
border-radius : 5px ;
55
60
padding : 6px ;
56
61
z-index : 2147483647 ;
62
+ font-size : 12px ;
57
63
}
58
64
59
65
.popup-tab {
You can’t perform that action at this time.
0 commit comments