}
}
}
+
+// 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;
+ }
+ }
+}
-<span class="action-button action-button-delete" >
+<span class="action-button action-button-delete" [title]="label">
<span class="icon icon-delete-grey"></span>
- {{ label }}
+ <span class="button-label">{{ label }}</span>
</span>
-<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>
- Edit
+ <span class="button-label">Edit</span>
</a>