From 912ab76b404a8f544c4efcdd56b6acbbb60c4e6d Mon Sep 17 00:00:00 2001 From: troyeguo <13820674+troyeguo@users.noreply.github.com> Date: Sat, 15 Aug 2026 10:59:13 +0800 Subject: [PATCH] feat: add "Learn more" link for server region selection in account settings fix: remove box-shadow from background and font setting styles --- .../settings/accountSetting/component.tsx | 31 +++++++++++++++++-- .../backgroundSetting/backgroundSetting.css | 1 - .../settings/fontSetting/fontSetting.css | 1 - 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/src/containers/settings/accountSetting/component.tsx b/src/containers/settings/accountSetting/component.tsx index 37a1d977..a49a22ae 100644 --- a/src/containers/settings/accountSetting/component.tsx +++ b/src/containers/settings/accountSetting/component.tsx @@ -626,9 +626,34 @@ class AccountSetting extends React.Component< )}
- - {this.props.isAuthed ? "Server region" : "Select server region"} - +
+ + {this.props.isAuthed ? "Server region" : "Select server region"} + + {ConfigService.getReaderConfig("lang").startsWith("zh") && ( + { + openInBrowser( + getWebsiteUrl() + + (ConfigService.getReaderConfig("lang").startsWith("zh") + ? "/zh" + : "/en") + + "/server-region" + ); + }} + > + Learn more + + )} +
{this.props.isAuthed ? (