From 691107263c5e05973f9af9e1937abbc27430f54e Mon Sep 17 00:00:00 2001 From: "Mélanie Chauvel (ariasuni)" Date: Thu, 31 May 2018 15:16:31 +0200 Subject: Put the CW field between the toot we are replying to and the toot field (#7508) * Remove Collapsable and use CSS instead * Put the CW field between the toot we are replying to and the toot field * Use same spacing between all fields in the composing column --- app/javascript/styles/mastodon/components.scss | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'app/javascript/styles') diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index c13dc1a05..124998a48 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -298,6 +298,19 @@ position: relative; } + .spoiler-input { + height: 0; + transform-origin: bottom; + opacity: 0.0; + transition: all 0.4s ease; + + &.spoiler-input--visible { + height: 47px; + opacity: 1.0; + transition: all 0.4s ease; + } + } + .autosuggest-textarea__textarea, .spoiler-input__input { display: block; @@ -569,9 +582,9 @@ } .reply-indicator { - border-radius: 4px 4px 0 0; + border-radius: 4px; position: relative; - bottom: -2px; + bottom: 10px; background: $ui-primary-color; padding: 10px; } -- cgit