about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/compose/containers/sensitive_button_container.jsx
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-02-20 11:32:27 +0100
committerGitHub <noreply@github.com>2023-02-20 11:32:27 +0100
commitd3b4d4d4f3ccee19f272c66e7c9acd803661e65b (patch)
treeca078179bb6e196b1df325f0f1faa6b624a86fc5 /app/javascript/mastodon/features/compose/containers/sensitive_button_container.jsx
parentb65ca7acc9753227a5f3958c894d3ece9024dcd2 (diff)
Change compose form checkbox to native input with `appearance: none` (#22949)
Diffstat (limited to 'app/javascript/mastodon/features/compose/containers/sensitive_button_container.jsx')
-rw-r--r--app/javascript/mastodon/features/compose/containers/sensitive_button_container.jsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/compose/containers/sensitive_button_container.jsx b/app/javascript/mastodon/features/compose/containers/sensitive_button_container.jsx
index 1bcce5731..03f831d28 100644
--- a/app/javascript/mastodon/features/compose/containers/sensitive_button_container.jsx
+++ b/app/javascript/mastodon/features/compose/containers/sensitive_button_container.jsx
@@ -54,8 +54,6 @@ class SensitiveButton extends React.PureComponent {
             disabled={disabled}
           />
 
-          <span className={classNames('checkbox', { active })} />
-
           <FormattedMessage
             id='compose_form.sensitive.hide'
             defaultMessage='{count, plural, one {Mark media as sensitive} other {Mark media as sensitive}}'