]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-main/buttons/button.component.scss
Fix some accessibility issues
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / buttons / button.component.scss
index f37decdefa89895414f2dfcb310cfd6a42117649..f73b7b8087ad903809fd02ce00edbafd243e0594 100644 (file)
@@ -1,19 +1,26 @@
 @import '_variables';
 @import '_mixins';
 
+:host {
+  outline: none;
+}
+
 my-small-loader ::ng-deep .root {
   display: inline-block;
   margin: 0 3px 0 0;
   width: 20px;
 }
 
+a[class$=-button],
+span[class$=-button] {
+  > span {
+    margin-left: 5px;
+  }
+}
+
 .action-button {
   @include peertube-button-link;
   @include button-with-icon(21px, 0, -1px);
-
-  > span:nth-child(2) {
-    margin-left: 5px;
-  }
 }
 
 .orange-button {