1
0
mirror of https://github.com/TwiN/gatus.git synced 2026-02-04 12:56:48 +00:00

ui: Disable hover effect if no link is set (#1419)

* fix(ui): Disable hover effect if no link is set

* refactor: Simplify conditional class logic

* chore(ui): Regenerate static assets

* chore(ui): Regenerate static assets

---------

Co-authored-by: TwiN <twin@linux.com>
This commit is contained in:
PythonGermany
2026-01-03 02:31:19 +01:00
committed by GitHub
parent 67bf6c16b6
commit 1c532971cb
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
:is="link ? 'a' : 'div'" :is="link ? 'a' : 'div'"
:href="link" :href="link"
target="_blank" target="_blank"
class="flex items-center gap-3 hover:opacity-80 transition-opacity" :class="['flex items-center gap-3', link && 'hover:opacity-80 transition-opacity']"
> >
<div class="w-12 h-12 flex items-center justify-center"> <div class="w-12 h-12 flex items-center justify-center">
<img <img

File diff suppressed because one or more lines are too long