From a529b74b47283af70ef91dd0aaa41a8ecd09e86a Mon Sep 17 00:00:00 2001 From: ulferts Date: Mon, 30 May 2016 22:03:54 +0200 Subject: [PATCH] recreate former behaviour of not showing all buttons on inplace textareas (#4478) --- .../content/_in_place_editing.sass | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/app/assets/stylesheets/content/_in_place_editing.sass b/app/assets/stylesheets/content/_in_place_editing.sass index 133db5b5a7..31a7b23333 100644 --- a/app/assets/stylesheets/content/_in_place_editing.sass +++ b/app/assets/stylesheets/content/_in_place_editing.sass @@ -125,22 +125,23 @@ display: block position: relative - //todo: Move to something more specific - .jstHandle, .jstSpacer - display: none - .jstElements - button +.inplace-edit + .textarea-wrapper + .jstHandle, .jstSpacer display: none - .jstb_strong, - .jstb_em, - .jstb_ins, - .jstb_del, - .jstb_ul, - .jstb_ol, - .jstb_preview, - .jstb_help - display: inline-flex - justify-content: center + .jstElements + button + display: none + .jstb_strong, + .jstb_em, + .jstb_ins, + .jstb_del, + .jstb_ul, + .jstb_ol, + .jstb_preview, + .jstb_help + display: inline-flex + justify-content: center .inplace-edit--select .select2-display-none