Skip to content

Commit

Permalink
改进页面样式中的 RESET,加上 ID 选择器,提升优先级。
Browse files Browse the repository at this point in the history
fix #74
  • Loading branch information
greatghoul committed Feb 5, 2018
1 parent 79d399f commit c1f1cd3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 更新记录

v1.6.6 - 2018-02-05

- 解决部分页面划词翻译结果样式失控的问题

v1.6.5 - 2018-01-25

- 解决升级依赖导致的脚本错误
Expand Down
7 changes: 5 additions & 2 deletions src/css/contentstyle.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
@import "includes/link-colors";

[class*='transit-'], [class*='transit-'] * {
[class*='transit-'],
[class*='transit-'][id],
[class*='transit-'] *,
[class*='transit-'][id] * {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
vertical-align: baseline;
width: auto;
height: auto;
Expand Down
4 changes: 2 additions & 2 deletions src/js/config/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ app.setup({
app.showUpdateNotes = function() {
chrome.notifications.create({
type: 'basic',
title: 'TransIt V1.6.5 更新记录',
message: '- 解决升级依赖导致的脚本错误',
title: 'TransIt V1.6.6 更新记录',
message: '- 解决部分页面划词翻译结果样式失控的问题',
iconUrl: 'img/icon48.png'
}, function () {});
};
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

"name": "TransIt",
"description": "让划词翻译更简单",
"version": "1.6.5",
"version": "1.6.6",

"icons": {
"48": "img/icon48.png",
Expand Down

0 comments on commit c1f1cd3

Please sign in to comment.