Skip to content

Commit

Permalink
add meta viewport to the browser action.
Browse files Browse the repository at this point in the history
rename browser action to LeoTranslate.
  • Loading branch information
mdnsk committed Jan 18, 2018
1 parent 3557097 commit 81a707f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Leo Translate",
"version": "1.8.7",
"version": "1.8.8",

"description": "Translate words on the internet pages using LinguaLeo API and add words to the LinguaLeo Dictionary.",

Expand Down Expand Up @@ -35,7 +35,7 @@
"browser_action": {
"browser_style": true,
"default_icon": "icons/icon.svg",
"default_title": "Open dictionary",
"default_title": "LeoTranslate",
"default_popup": "templates/browser-action.html"
},

Expand Down
4 changes: 2 additions & 2 deletions extension/templates/browser-action.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
margin: 0;
margin: 0 auto;
padding: 0;
max-width: 300px;
}
Expand All @@ -16,4 +17,3 @@
<script src="../dist/browser-action.js"></script>
</body>
</html>

0 comments on commit 81a707f

Please sign in to comment.