update preview

This commit is contained in:
mrsang 2021-03-22 20:49:18 +01:00
parent f3a8f5cec9
commit 8fd278c7f1
4 changed files with 6 additions and 5 deletions

Binary file not shown.

View File

@ -27,12 +27,13 @@ afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] div.pdf-pa
margin-bottom: 5px; margin-bottom: 5px;
} }
/*
afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] div[data-id = "view"].image afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] div[data-id = "view"].image
{ {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }*/
afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] div[data-id = "view"].pdf afx-app-window[data-id = "preview-win"] afx-vbox[data-id="container"] div[data-id = "view"].pdf
{ {
overflow: hidden; overflow: hidden;

View File

@ -6,8 +6,8 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "xsang.le@gmail.com" "email": "xsang.le@gmail.com"
}, },
"version":"0.1.0-a", "version":"0.1.1-a",
"category":"Utils", "category":"Graphics",
"iconclass":"fa fa-eye", "iconclass":"fa fa-eye",
"mimes":["[^\/]*/.*pdf", "image/.*"], "mimes":["[^\/]*/.*pdf", "image/.*"],
"dependencies": ["libpdfjs@2.6.347-r"] "dependencies": ["libpdfjs@2.6.347-r"]

View File

@ -213,9 +213,9 @@
"pkgname": "Preview", "pkgname": "Preview",
"name": "Preview", "name": "Preview",
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Preview/README.md", "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Preview/README.md",
"category": "Utils", "category": "Graphics",
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"version": "0.1.0-a", "version": "0.1.1-a",
"dependencies": ["libpdfjs@2.6.347-r"], "dependencies": ["libpdfjs@2.6.347-r"],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Preview/build/release/Preview.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Preview/build/release/Preview.zip"
}, },