Skip to content

Commit

Permalink
Fixed avatar offset issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tomy-shen committed Jan 12, 2024
1 parent 22180c6 commit 964d88b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
v2.0.1 (2024-01-12):
v2.0.1 (2024-01-13):

* 活動頁面的視覺調整
* 設定頁面的視覺優化
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ With simple design, create a style that is compatible with English and Chinese v
To install TW-Style, just download .zip and unpack it to your Redmine's public/themes folder.
Then go to Redmine > Administration > Settings > Display and select TW-Style from the list and save the changes.

## Notice

If you allow avatars or have installed avatar-related plugins, please remember to check the checkbox in Administration > Settings > Display > 「Use Gravatar user icons」

## How to replace Logo for your Redmine

1. Find 'Website LOGO' in the application.css
Expand Down
5 changes: 3 additions & 2 deletions stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Author: Tomy Shen ([email protected])
* Website: https://redmine-tw.net
* @2024-01-12
* @2024-01-13
* @license https://opensource.org/license/mit/
*
*/
Expand Down Expand Up @@ -297,7 +297,8 @@ div.agile-board.autoscroll { background-color: whitesmoke; }
#sidebar a.dashboard.selected { line-height: 1.7em; padding: 3px 12px 4px 11px; background-color: #C8C8C8; border-radius: 18px; }
a.dashboard { line-height: 1.7em; padding: 3px 12px 4px 11px; margin-left: -2px; }
/* Plugin local_avatars */
body.avatars-on div.journal { padding-left: 32px; }
body.avatars-on div.journal h4 img.gravatar { margin-left: -32px; }
body.avatars-off div.journal h4 img.gravatar { margin-left: 0px; }
img.gravatar, div.gravatar-with-child > img.gravatar:nth-child(2) {
border-radius: 160px; -moz-border-radius: 160px; -webkit-border-radius: 160px;
}
Expand Down

0 comments on commit 964d88b

Please sign in to comment.