]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_mixins.scss
Fix ng-select width
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _mixins.scss
index e6491b4929460456496c89242375f7ef91bd25e7..10ab44f57a402d8d2c95c17ab4ee662572b7903e 100644 (file)
   min-height: $button-height;
   padding-top: 0;
   padding-bottom: 0;
+  flex-wrap: nowrap;
 
   .input-group-text{
     font-size: 14px;
   z-index: 100;
 }
 
+@mixin responsive-width ($width) {
+  width: $width;
 
-@mixin ng-select ($width) {
-  ::ng-deep ng-select {
-    width: $width;
-
-    @media screen and (max-width: $width) {
-      width: 100%;
-    }
+  @media screen and (max-width: $width) {
+    width: 100%;
   }
 }
 
     &.secondary {
       background-color: pvar(--secondaryColor);
     }
+
+    &.red {
+      background-color: lighten($color: #c54130, $amount: 10);
+    }
   }
 }