]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix video edit page overflow
authorChocobozzz <me@florianbigard.com>
Thu, 25 May 2023 14:03:29 +0000 (16:03 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 25 May 2023 14:09:47 +0000 (16:09 +0200)
client/src/app/shared/shared-forms/dynamic-form-field.component.scss
client/src/sass/primeng-custom.scss

index 0737f372ac0d786e60c3fd6dd2ed1007b7871d4e..dbb8845b958b68ddc3d5b08e48dc06d713800c0f 100644 (file)
@@ -4,6 +4,9 @@
 input:not([type=submit]) {
   @include peertube-input-text(340px);
 
+  max-width: 340px;
+  width: 100%;
+
   display: block;
 }
 
index 620df3cb8d58f93c07742e017a6e9990e2933d61..a721663eafd2f355e1b8dc62c76e50b3f69771bf 100644 (file)
@@ -816,31 +816,9 @@ p-tablecheckbox:hover div .p-checkbox-box {
 
   .p-checkbox-box {
     &.p-highlight {
-      border-color: pvar(--mainColor) !important;
+      color: pvar(--mainBackgroundColor) !important;
       background-color: pvar(--mainColor) !important;
-    }
-
-    .p-checkbox-icon {
-      position: relative;
-      overflow: visible !important;
-
-      &:after {
-        content: '';
-        position: absolute;
-        bottom: -5px;
-        left: -2px;
-        width: 5px;
-        height: 12px;
-        opacity: 0;
-        transform: rotate(45deg) scale(0);
-        border-right: 2px solid pvar(--mainBackgroundColor);
-        border-bottom: 2px solid pvar(--mainBackgroundColor);
-      }
-
-      &.pi-check:after {
-        opacity: 1;
-        transform: rotate(45deg) scale(1);
-      }
+      border-color: pvar(--mainColor) !important;
     }
   }
 }