Răsfoiți Sursa

Eliminates collapse in smartphone size.

Shu Katabe 5 ani în urmă
părinte
comite
e05aa5ac71

+ 1 - 1
src/client/js/components/SlackNotification.jsx

@@ -49,7 +49,7 @@ class SlackNotification extends React.Component {
                 checked={this.props.isSlackEnabled}
                 onChange={this.updateCheckboxHandler}
               />
-              <label className={`custom-control-label align-center ${this.props.popUp ? 'mt-1' : ''}`} htmlFor={this.props.id}>
+              <label className="custom-control-label align-center" htmlFor={this.props.id}>
               </label>
             </div>
           </label>

+ 6 - 0
src/client/styles/scss/molecules/slack-notification.scss

@@ -23,6 +23,12 @@
   }
   .grw-input-group-slack-notification {
     height: $input-height-slack;
+    label {
+      display: flex;
+      align-items: center;
+      justify-content: center;
+      margin-bottom: 0;
+    }
   }
 
   .custom-control-label {