fix: [helpers:bootstrap] UI issue in button
Buttons with icon should have margin only if they contain textpull/72/head
parent
b96991cf4a
commit
ef707d89f2
|
@ -909,7 +909,7 @@ class BoostrapButton extends BootstrapGeneric {
|
|||
{
|
||||
if (!empty($this->options['icon'])) {
|
||||
$bsIcon = new BoostrapIcon($this->options['icon'], [
|
||||
'class' => [(!empty($this->options['title']) ? 'me-1' : '')]
|
||||
'class' => [(!empty($this->options['text']) ? 'me-1' : '')]
|
||||
]);
|
||||
return $bsIcon->icon();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue