Skip to content

Commit 964d88b

Browse files
committed
Fixed avatar offset issue
1 parent 22180c6 commit 964d88b

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v2.0.1 (2024-01-12):
1+
v2.0.1 (2024-01-13):
22

33
* 活動頁面的視覺調整
44
* 設定頁面的視覺優化

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ With simple design, create a style that is compatible with English and Chinese v
1515
To install TW-Style, just download .zip and unpack it to your Redmine's public/themes folder.
1616
Then go to Redmine > Administration > Settings > Display and select TW-Style from the list and save the changes.
1717

18-
## Notice
19-
20-
If you allow avatars or have installed avatar-related plugins, please remember to check the checkbox in Administration > Settings > Display > 「Use Gravatar user icons」
21-
2218
## How to replace Logo for your Redmine
2319

2420
1. Find 'Website LOGO' in the application.css

stylesheets/application.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Author: Tomy Shen ([email protected])
55
* Website: https://redmine-tw.net
6-
* @2024-01-12
6+
* @2024-01-13
77
* @license https://opensource.org/license/mit/
88
*
99
*/
@@ -297,7 +297,8 @@ div.agile-board.autoscroll { background-color: whitesmoke; }
297297
#sidebar a.dashboard.selected { line-height: 1.7em; padding: 3px 12px 4px 11px; background-color: #C8C8C8; border-radius: 18px; }
298298
a.dashboard { line-height: 1.7em; padding: 3px 12px 4px 11px; margin-left: -2px; }
299299
/* Plugin local_avatars */
300-
body.avatars-on div.journal { padding-left: 32px; }
300+
body.avatars-on div.journal h4 img.gravatar { margin-left: -32px; }
301+
body.avatars-off div.journal h4 img.gravatar { margin-left: 0px; }
301302
img.gravatar, div.gravatar-with-child > img.gravatar:nth-child(2) {
302303
border-radius: 160px; -moz-border-radius: 160px; -webkit-border-radius: 160px;
303304
}

0 commit comments

Comments
 (0)