Skip to content

Commit

Permalink
Avoid dark-mode-only/light-mode-only for formats display - can be use…
Browse files Browse the repository at this point in the history
…d for icon display too
  • Loading branch information
stefan-korn committed Nov 1, 2024
1 parent c43a750 commit 82c819b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/partials/content-layout/cl_result-card.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
>
<div class='card-body d-flex align-items-start gap-3'>
{% if icon is defined %}
<div class='p-4 fs-2 light-mode-only bg-light-gray me-3'>
<i class='d-flex bi bi-{{ icon }}'></i>
</div>
<div class='p-4 fs-2 dark-mode-only border me-3'>
<div class='p-4 fs-2 border border-light-gray bg-light-gray me-3'>
<i class='d-flex bi bi-{{ icon }}'></i>
</div>
{% endif %}
Expand Down

0 comments on commit 82c819b

Please sign in to comment.