From c2fa36bbaeb8c71adc14f1b5d4c23c7a5adfda6c Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Fri, 1 Mar 2019 11:45:16 +0100 Subject: [PATCH] Content-Type Dropdown: use the selected option icon for the menu Signed-off-by: Thibaut Girka --- .../glitch/features/compose/components/options.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/features/compose/components/options.js b/app/javascript/flavours/glitch/features/compose/components/options.js index 908126c6f83..9bec36a7def 100644 --- a/app/javascript/flavours/glitch/features/compose/components/options.js +++ b/app/javascript/flavours/glitch/features/compose/components/options.js @@ -230,17 +230,17 @@ class ComposerOptions extends ImmutablePureComponent { const contentTypeItems = { plain: { - icon: 'file', + icon: 'align-left', name: 'text/plain', text: , }, html: { - icon: 'file-text', + icon: 'code', name: 'text/html', text: , }, markdown: { - icon: 'file-text', + icon: 'arrow-circle-down', name: 'text/markdown', text: , }, @@ -311,7 +311,8 @@ class ComposerOptions extends ImmutablePureComponent { value={privacy} />