@import '_variables';
@import '_mixins';
+@mixin responsive-label {
+ .action-button {
+ padding: 0 13px;
+ }
+
+ .button-label {
+ display: none;
+ }
+}
+
+: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 {
+ @include margin-left(5px);
+ }
+}
+
.action-button {
@include peertube-button-link;
- @include button-with-icon(21px, 0, -1px);
-
- > span:nth-child(2) {
- margin-left: 5px;
- }
+ @include button-with-icon(21px);
}
.orange-button {
// 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;
- }
+ @include responsive-label;
+ }
+}
- .button-label {
- display: none;
- }
+@media screen and (max-width: $small-view) {
+ .responsive-label {
+ @include responsive-label;
}
}