Merge branch 'master' into develop
[oweals/peertube.git] / client / src / app / shared / forms / peertube-checkbox.component.scss
index ee133f1908d589292ab3f4c89050ae5a81dc2fdb..3120509b3b46a9d78b752ac01de59c691090a436 100644 (file)
@@ -1,27 +1,37 @@
 @import '_variables';
 @import '_mixins';
 
-.form-group {
+.root {
   display: flex;
 
   .form-group-checkbox {
     display: flex;
+    align-items: center;
 
-    span {
+    .label-text {
       font-weight: $font-regular;
       margin: 0;
     }
 
     input {
       @include peertube-checkbox(1px);
-
-      width: 10px;
-      margin-right: 10px;
     }
   }
 
+  label {
+    margin-bottom: 0;
+  }
+
   my-help {
     position: relative;
-    top: -2px;
+    top: 2px;
+  }
+
+  small {
+    font-size: 90%;
+  }
+
+  .wrapper:empty {
+    display: none;
   }
 }
\ No newline at end of file