Skip to content

Commit 3c1b821

Browse files
committed
Fix missing margin between badges in article grid view
1 parent b6f01e1 commit 3c1b821

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

wcfsetup/install/files/lib/system/gridView/admin/ArticleGridView.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ public function render(mixed $value, DatabaseObject $row): string
103103
);
104104
}
105105
if ($row->publicationStatus === Article::UNPUBLISHED) {
106+
if ($badges !== '') {
107+
$badges .= ' ';
108+
}
106109
$badges .= \sprintf(
107110
'<span class="badge">%s</span>',
108111
WCF::getLanguage()->get('wcf.acp.article.publicationStatus.unpublished')
@@ -118,6 +121,9 @@ public function render(mixed $value, DatabaseObject $row): string
118121
WCF::getLanguage()->getLocale()
119122
);
120123

124+
if ($badges !== '') {
125+
$badges .= ' ';
126+
}
121127
$badges .= \sprintf(
122128
'<span class="badge" title="%s">%s</span>',
123129
$dateTime,

0 commit comments

Comments
 (0)