1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-31 01:57:21 +01:00

fix: cleans up on hover background color

This commit is contained in:
Amir Raminfar
2024-09-08 14:10:48 -07:00
parent 293bf9e021
commit d6477848d5
2 changed files with 2 additions and 5 deletions

View File

@@ -1,8 +1,5 @@
<template>
<div
class="group/item relative flex w-full cursor-pointer gap-x-2 hover:bg-secondary/10"
@click="showLogDetails(logEntry)"
>
<div class="group/item clickable relative flex w-full gap-x-2" @click="showLogDetails(logEntry)">
<div v-if="showContainerName">
<ContainerName :id="logEntry.containerID" />
</div>

View File

@@ -71,7 +71,7 @@ useIntersectionObserver(
monospace;
> li {
@apply flex break-words px-2 py-1 last:snap-end odd:bg-gray-400/[0.07] md:px-4;
@apply flex break-words px-2 py-1 last:snap-end odd:bg-gray-400/[0.07] has-[.clickable]:cursor-pointer has-[.clickable]:hover:bg-primary/10 md:px-4;
&:last-child {
scroll-margin-block-end: 5rem;
}