FIX: Buttons out of alignment on some browsers

This commit is contained in:
Justin DiRose 2020-07-28 11:49:15 -05:00
parent 11d9b2e011
commit 0a244111bc
No known key found for this signature in database
GPG Key ID: 4B811FB264021800
2 changed files with 10 additions and 0 deletions

View File

@ -25,6 +25,7 @@
<td>{{format-unix-date product.updated}}</td> <td>{{format-unix-date product.updated}}</td>
<td class="td-right">{{product.active}}</td> <td class="td-right">{{product.active}}</td>
<td class="td-right"> <td class="td-right">
<div class="align-buttons">
{{#link-to "adminPlugins.discourse-subscriptions.products.show" product.id class="btn no-text btn-icon"}} {{#link-to "adminPlugins.discourse-subscriptions.products.show" product.id class="btn no-text btn-icon"}}
{{d-icon "far-edit"}} {{d-icon "far-edit"}}
{{/link-to}} {{/link-to}}
@ -33,6 +34,7 @@
actionParam=product actionParam=product
icon="trash-alt" icon="trash-alt"
class="btn-danger btn no-text btn-icon"}} class="btn-danger btn no-text btn-icon"}}
</div>
</td> </td>
</tr> </tr>
{{/each}} {{/each}}

View File

@ -14,6 +14,14 @@ textarea[readonly] {
.btn-right { .btn-right {
text-align: right; text-align: right;
} }
.align-buttons {
display: flex;
justify-content: flex-end;
.btn {
margin-right: 5px;
}
}
} }
.plan-amount { .plan-amount {