hack to resolve pixel difference (cancel bourbon rule)

This commit is contained in:
Mathieu Jaumotte 2021-03-08 16:49:52 +01:00
parent 8091173746
commit 21d451626b

View File

@ -1,6 +1,12 @@
.sc-button {
margin-bottom: 0.5rem;
// hack to resolve pixel difference (cancel bourbon rule)
&:not(.bt-submit), &:not(.bt-save), &:not(.bt-create), &:not(.bt-new), &:not(.bt-duplicate), &:not(.bt-not-duplicate),
&:not(.bt-reset), &:not(.bt-delete), &:not(.bt-action), &:not(.bt-edit), &:not(.bt-update), &:not(.bt-show), &:not(.bt-view) {
padding: 7px 12px;
}
&.bt-submit, &.bt-save, &.bt-create, &.bt-new, &.bt-duplicate, &.bt-not-duplicate {
@include button($green, $white);
}