From 8050a0a243c9bb664fa49f52f0ccd5bcb5ca3bdf Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 21 Dec 2017 10:12:30 +0100 Subject: [PATCH] Hide comment response editor when guest dialog is shown See #2502 --- wcfsetup/install/files/style/ui/comment.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/wcfsetup/install/files/style/ui/comment.scss b/wcfsetup/install/files/style/ui/comment.scss index 8914f6caae..ab3943d43b 100644 --- a/wcfsetup/install/files/style/ui/comment.scss +++ b/wcfsetup/install/files/style/ui/comment.scss @@ -149,6 +149,24 @@ } } +.commentListAddCommentResponse { + &.loading { + height: 150px; + position: relative; + + > .commentListAddCommentResponseEditorContainer { + display: none; + } + + > .commentLoadingOverlay { + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + } + } +} + .commentListAddCommentEditorContainer > .jsCommentAddRequiresApproval { margin-top: 0; } -- 2.20.1