]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/misc/button.component.scss
Improve frontend accessibility
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / misc / button.component.scss
index c380c7ae1ab3e9420a87b9d574426e8010ee935e..343aea2079a1b93a5fd60189cf4174f202fc3982 100644 (file)
@@ -20,7 +20,7 @@
     top: -2px;
 
     &.icon-edit {
-      background-image: url('../../../assets/images/global/edit.svg');
+      background-image: url('../../../assets/images/global/edit-grey.svg');
     }
 
     &.icon-delete-grey {
     }
   }
 }
+
+// In a table, try to minimize the space taken by this button
+@media screen and (max-width: 1400px) {
+  :host-context(td) {
+    .action-button {
+      padding: 0 13px;
+    }
+
+    .button-label {
+      display: none;
+    }
+  }
+}