mirror of https://github.com/Chocobozzz/PeerTube
Avoid ... for delete/edit buttons in admin panel
parent
9419b01352
commit
b17e8d8975
|
@ -28,3 +28,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<span class="action-button action-button-delete" >
|
<span class="action-button action-button-delete" [title]="label">
|
||||||
<span class="icon icon-delete-grey"></span>
|
<span class="icon icon-delete-grey"></span>
|
||||||
{{ label }}
|
<span class="button-label">{{ label }}</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<a class="action-button action-button-edit" [routerLink]="routerLink">
|
<a class="action-button action-button-edit" [routerLink]="routerLink" title="Edit">
|
||||||
<span class="icon icon-edit"></span>
|
<span class="icon icon-edit"></span>
|
||||||
Edit
|
<span class="button-label">Edit</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue