Commit dae08b5384b548c187bf1d22d6631f4b9e22049b

Authored by David Guilherme
1 parent 66d47f16
Exists in master

increase window size

.gitignore
... ... @@ -13,3 +13,5 @@ node_modules
13 13 **/*.crx
14 14 **/*.xpi
15 15 **/*.safariextz
  16 +
  17 +*.zip
16 18 \ No newline at end of file
... ...
chrome/background.js
... ... @@ -20,8 +20,8 @@ chrome.contextMenus.onClicked.addListener( function (info) {
20 20 url: "app/player/window.html",
21 21 top: 10,
22 22 left: 10,
23   - width: 400,
24   - height: 500,
  23 + width: 540,
  24 + height: 450,
25 25 type: "popup"
26 26 }, function (w) {
27 27 popup = w;
... ...
firefox/index.js
... ... @@ -36,7 +36,7 @@ cm.Item({
36 36 app.window = browser.open(
37 37 self.data.url('player/window.html'),
38 38 'VLibras Plugin',
39   - 'width=400,height=500,menubar=no,resizable=yes'
  39 + 'width=540,height=450,menubar=no,resizable=yes'
40 40 );
41 41 } else {
42 42 app.worker.port.emit('selectedText', app.selectedText);
... ...
player/TemplateData/style.css
... ... @@ -95,6 +95,7 @@ html, body, #canvas {
95 95  
96 96 #info-screen.active {
97 97 display: -webkit-flex;
  98 + display: flex;
98 99 }
99 100  
100 101 #info-screen .arrow {
... ... @@ -110,6 +111,7 @@ html, body, #canvas {
110 111 #info-tabset {
111 112 flex-grow: 4;
112 113 display: -webkit-flex;
  114 + display: flex;
113 115 flex-direction: column;
114 116 -webkit-flex-direction: column;
115 117 padding: 0 1em;
... ...
safari.safariextension/app/middleware.js
1   -window.resizeTo(400, 500);
  1 +window.resizeTo(540, 470);
2 2  
3 3 document.addEventListener('player:verified', function() {
4 4 safari.self.addEventListener('message', function (request) {
... ...