Commit 1b85db95 authored by Lukas Haase's avatar Lukas Haase
Browse files

btn-wrp fix

parent be2818aa
......@@ -57,7 +57,7 @@ export class ButtonWrapperDirective implements OnInit, AfterViewInit {
// init padding for each button
if (this.ft.isCol()) {
this.btn.forEach(e => e.setPadding(this.xs / 2, this.xe / 2, 0, 0));
if (this.extraStart && this.extraEnd && this.btn.length == 1) {
if (this.extraStart && this.extraEnd && this.btn.length === 1) {
this.btn.first.setPadding(this.xs, this.xe, 0, 0);
} else {
if (this.extraStart) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment