Skip to content

Commit

Permalink
优化表格label空格 #918
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Jan 3, 2021
1 parent c92275f commit 074f250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grid/Displayers/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function display($style = 'primary', $max = null)

return collect($value)->map(function ($name) use ($background) {
return "<span class='{$this->baseClass}' {$background}>$name</span>";
})->implode('&nbsp;');
})->implode(' ');
}

protected function formatStyle($style)
Expand Down

0 comments on commit 074f250

Please sign in to comment.