Remove inline style

This commit is contained in:
James Allen 2018-07-13 11:19:49 +01:00
parent 452d698a47
commit a238c74440
2 changed files with 4 additions and 2 deletions

View file

@ -69,8 +69,7 @@ form.row(
td.affiliations-table-inline-actions td.affiliations-table-inline-actions
// Disabled buttons don't work with tooltips, due to pointer-events: none, // Disabled buttons don't work with tooltips, due to pointer-events: none,
// so create a wrapper for the tooltip // so create a wrapper for the tooltip
div( div.affiliations-table-inline-action-disabled-wrapper(
style="display: inline-block"
tooltip=translate("please_confirm_your_email_before_making_it_default") tooltip=translate("please_confirm_your_email_before_making_it_default")
ng-if="!userEmail.default && !userEmail.confirmedAt" ng-if="!userEmail.default && !userEmail.confirmedAt"
) )

View file

@ -29,6 +29,9 @@
.affiliations-table-inline-action { .affiliations-table-inline-action {
text-transform: capitalize; text-transform: capitalize;
} }
.affiliations-table-inline-action-disabled-wrapper {
display: inline-block;
}
.affiliations-table-highlighted-row { .affiliations-table-highlighted-row {
background-color: tint(@content-alt-bg-color, 6%); background-color: tint(@content-alt-bg-color, 6%);
} }