From d317f5e2c61b982f454e6dea75a6a705b89d9620 Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 11 Sep 2023 12:43:46 +0200 Subject: [PATCH] Factor out the select element styling and apply it. --- source/options/components/anonymize-usernames.tsx | 13 +++++++++++-- source/options/components/hide-topics.tsx | 6 ++++-- source/scss/_settings.scss | 15 +++++++++++++++ source/scss/settings/_hide-topics.scss | 7 +------ 4 files changed, 31 insertions(+), 10 deletions(-) diff --git a/source/options/components/anonymize-usernames.tsx b/source/options/components/anonymize-usernames.tsx index bfd9f89..b2b49c2 100644 --- a/source/options/components/anonymize-usernames.tsx +++ b/source/options/components/anonymize-usernames.tsx @@ -55,7 +55,8 @@ export class AnonymizeUsernamesSetting extends Component { return (

- Anonymizes usernames by replacing them with "Anonymous #". + Anonymizes usernames by replacing them with an incrementing "Anonymous + #" or a SHA-256 hash of the username.
Note that User Labels and Username Colors will still be applied to any usernames as normal. @@ -63,7 +64,15 @@ export class AnonymizeUsernamesSetting extends Component {

  • - {replacementTypeOptions}
  • diff --git a/source/options/components/hide-topics.tsx b/source/options/components/hide-topics.tsx index dc3fb50..76c5667 100644 --- a/source/options/components/hide-topics.tsx +++ b/source/options/components/hide-topics.tsx @@ -145,8 +145,10 @@ export class HideTopicsSetting extends Component { : ""; return ( -
    - +
    +