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:
@@ -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
Reference in New Issue
Block a user