FIX: Remove extra margin from share topic modal (#13549)

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.

diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss
index 9bc306a..c35dfa3 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;

GitHub sha: d015907668d10e7eff726eafcff096695b7f480d

This commit appears in #13549 which was approved by CvX. It was merged by udan11.