From d95dd3883e0c7d1626f5e3b88d24af2627a641e2 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 1 Sep 2020 10:21:45 +0200 Subject: Change radio button design to be consistent with that of the directory explorer Signed-off-by: Thibaut Girka --- .../glitch/features/list_timeline/index.js | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'app/javascript/flavours/glitch/features/list_timeline') diff --git a/app/javascript/flavours/glitch/features/list_timeline/index.js b/app/javascript/flavours/glitch/features/list_timeline/index.js index c3156de8d..70e530bae 100644 --- a/app/javascript/flavours/glitch/features/list_timeline/index.js +++ b/app/javascript/flavours/glitch/features/list_timeline/index.js @@ -14,6 +14,7 @@ import { openModal } from 'flavours/glitch/actions/modal'; import MissingIndicator from 'flavours/glitch/components/missing_indicator'; import LoadingIndicator from 'flavours/glitch/components/loading_indicator'; import Icon from 'flavours/glitch/components/icon'; +import RadioButton from 'flavours/glitch/components/radio_button'; const messages = defineMessages({ deleteMessage: { id: 'confirmations.delete_list.message', defaultMessage: 'Are you sure you want to permanently delete this list?' }, @@ -176,7 +177,7 @@ class ListTimeline extends React.PureComponent { multiColumn={multiColumn} bindToDocument={!multiColumn} > -
+
@@ -187,19 +188,14 @@ class ListTimeline extends React.PureComponent {
{ replies_policy !== undefined && ( -
+
+ + +
-
- - { ['no_replies', 'list_replies', 'all_replies'].map(policy => ( -
- - -
- ))} -
+ { ['no_replies', 'list_replies', 'all_replies'].map(policy => ( + + ))}
)} -- cgit