fix: 🐛 display good news category color for hot news

This commit is contained in:
Nicolas Demangeat 2024-10-09 10:05:03 +02:00
parent 5e3f88fc48
commit 6f33d26015

View file

@ -12,7 +12,7 @@
</div>
<div class="col-6 d-flex flex-column justify-content-center align-items-start ps-2 pe-0">
<div class="mb-1">
<span class="text-bg-quad px-2 py-1 f-bourton-base">
<span class="px-2 py-1 f-bourton-base" style="background-color: {{ $newsModel->newsCategory->color }}; color: #fff">
{{ $newsModel->newsCategory->title }}
</span>
</div>