Update (ui): fix word break

Update (top rss keyword): do not show known brands
This commit is contained in:
2023-11-23 10:50:43 +08:00
parent 416f06b344
commit e374875015
14 changed files with 46 additions and 45 deletions

View File

@@ -13,17 +13,18 @@
<div class="d-flex flex-wrap mb-1">
@if ($post->entities)
@foreach ($post->entities_keywords as $keyword)
@if($keyword->type == 'entity')
@if ($keyword->is_main)
<h4
class="mb-1 pb-1 d-inline badge bg-secondary border-secondary text-white border me-1 small fw-bold">
{{ $keyword->value }}
</h4>
@else
<h4 class="mb-1 pb-1 d-inline badge text-bg-light border me-1 small fw-normal">
{{ $keyword->value }}
</h4>
@endif
@if ($keyword->type == 'entity')
@if ($keyword->is_main)
<h4
class="mb-1 pb-1 d-inline badge bg-secondary border-secondary text-white border me-1 small fw-bold">
{{ $keyword->value }}
</h4>
@else
<h4
class="mb-1 pb-1 d-inline badge text-bg-light border me-1 small fw-normal">
{{ $keyword->value }}
</h4>
@endif
@endif
@endforeach
@endif