Skip to content

Commit

Permalink
tối ưu giao diện.
Browse files Browse the repository at this point in the history
  • Loading branch information
canhlinh committed Nov 12, 2015
1 parent 42526bd commit 1d5939c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file removed chrome_extension/vsdict.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions chrome_extension/vsdict/js/script-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ ContentScript = {
return this.CreatePtag(meanings);
}
var arrayOfStrings = meanings.split("\n");
var div = this.CreatePtag("phiên âm - /"+phonetic+"/",0);
var div = this.CreatePtag("/"+phonetic+"/",0);
for(var i = 0; i < arrayOfStrings.length; i++){
var pText = arrayOfStrings[i];
var fChar = pText.charAt(0);
Expand All @@ -154,10 +154,10 @@ ContentScript = {
return div;
},
CreatePtag: function(value, px){
return "<p style='margin-left: "+px+"px;margin-bottom: 0;'>"+value+"</p>";
return "<p style='margin-left: "+ px + "px;margin-bottom: 0px;margin-top: 0px;'>"+value+"</p>";
},
CreateBPtag: function(value){
return "<p style='font-weight: bold;margin-bottom: 0;'>"+value+"</p>";
return "<p style='font-weight: bold;margin-bottom: 0px;margin-top: 0px;'>"+value+"</p>";
}
};

Expand Down
2 changes: 1 addition & 1 deletion chrome_extension/vsdict/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "VSdict",
"short_name": "vsdict",
"description": "Từ điển Anh Việt, Flashcard trên tới mới.",
"version": "0.0.4",
"version": "0.0.6",
"minimum_chrome_version": "38",

"icons": {
Expand Down

0 comments on commit 1d5939c

Please sign in to comment.