]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss
Fix ng select in admin
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / config / edit-custom-config / edit-custom-config.component.scss
index 14cd6bd8b8487e7502c93688170355f525a1bdef..3d570f571c281108adb8b10e77b231d5414f3d83 100644 (file)
@@ -22,6 +22,17 @@ input[type=number] {
   display: block;
 }
 
+.number-with-unit {
+  position: relative;
+  width: min-content;
+
+  input[type=number] + span {
+    position: absolute;
+    top: 5px;
+    right: 2.5rem;
+  }
+}
+
 input[type=checkbox] {
   @include peertube-checkbox(1px);
 }
@@ -30,6 +41,10 @@ input[type=checkbox] {
   @include peertube-select-container($form-base-input-width);
 }
 
+ng-select {
+  @include ng-select($form-base-input-width);
+}
+
 my-select-checkbox {
   @include ng-select($form-base-input-width);
 }
@@ -92,3 +107,23 @@ ngb-tabset:not(.previews) ::ng-deep {
   width: fit-content;
   margin-top: 10px;
 }
+
+.callout-container {
+  position: absolute;
+  display: flex;
+  height: 0;
+  width: 100%;
+  justify-content: right;
+
+  .callout-link {
+    @include peertube-button-link;
+
+    position: relative;
+    right: 3.3em;
+    top: .3em;
+    font-size: 90%;
+    color: pvar(--mainColor);
+    background-color: pvar(--mainBackgroundColor);
+    padding: 0 .3em;
+  }
+}