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

View File

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