Skip to content

Commit 644eee1

Browse files
周昊mzz2017
周昊
authored andcommittedMay 22, 2019
fix: 优化样式,放大popup的窗口,消除滚动条,整体下一点点
1 parent f3457af commit 644eee1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎css/app.css

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
12
#container {
23
width: 400px;
34
height: 400px;
5+
margin: 20px auto 0 ;
46
}
57

68
#uploader {

‎js/background.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
chrome.browserAction.onClicked.addListener(function (tab) {
2-
var w = 400;
3-
var h = 400;
2+
var w = 500;
3+
var h = 450;
44
var left = Math.round((screen.width / 2) - (w / 2));
55
var top = Math.round((screen.height / 2) - (h / 2));
66
if (!checkOptions()) {
@@ -32,4 +32,4 @@ function checkOptions() {
3232
}
3333
});
3434
return true;
35-
}
35+
}

0 commit comments

Comments
 (0)
Please sign in to comment.