From d015907668d10e7eff726eafcff096695b7f480d Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Mon, 28 Jun 2021 15:52:44 +0300 Subject: [PATCH] FIX: Remove extra margin from share topic modal (#13549) The styling between the "Create Invite" and "Share Topic" modals is shared. The margin that was used to organize inputs in a list is not needed for the "Share Topic" modal. --- app/assets/stylesheets/common/base/modal.scss | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss index 9bc306af2e2..c35dfa35bb4 100644 --- a/app/assets/stylesheets/common/base/modal.scss +++ b/app/assets/stylesheets/common/base/modal.scss @@ -856,8 +856,7 @@ .group-chooser, .user-chooser, .future-date-input-selector { - margin-left: 25px; - width: calc(100% - 25px); + width: 100%; } &.invite-to-topic input[type="radio"] { @@ -956,6 +955,19 @@ } } +.create-invite-modal { + .input-group { + textarea#invite-message, + &.invite-to-topic input[type="text"], + .group-chooser, + .user-chooser, + .future-date-input-selector { + margin-left: 25px; + width: calc(100% - 25px); + } + } +} + .share-topic-modal { .sources { align-items: center;