mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
fix(ui): sync chart tooltips only inside the plot area and remove the heading gap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
2e03926c01
commit
a261d89988
@@ -181,6 +181,11 @@
|
||||
if (!event.isTrusted || !rect?.width || !(maxX > minX)) {
|
||||
return;
|
||||
}
|
||||
// ApexCharts hides the source tooltip outside the plot grid; hide the peers too.
|
||||
if (event.clientX < rect.left || event.clientX > rect.right || event.clientY < rect.top || event.clientY > rect.bottom) {
|
||||
peers(source).forEach(hide);
|
||||
return;
|
||||
}
|
||||
const timestamp = minX + (event.clientX - rect.left) / rect.width * (maxX - minX);
|
||||
|
||||
peers(source).forEach(chart => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<nav wire:poll.10000ms="checkStatus" class="w-full max-w-none pb-4 md:pb-6 lg:pb-0">
|
||||
<nav wire:poll.10000ms="checkStatus" class="w-full max-w-none">
|
||||
<div>
|
||||
@if ($application->build_pack === 'nixpacks')
|
||||
<x-callout type="warning" title="Nixpacks is deprecated" class="mb-4">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<nav wire:poll.10000ms="checkStatus" class="w-full max-w-none pb-4 md:pb-6 lg:pb-0">
|
||||
<nav wire:poll.10000ms="checkStatus" class="w-full max-w-none">
|
||||
@php
|
||||
$databasePageItems = [
|
||||
[
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<nav wire:poll.10000ms="checkStatus" class="w-full max-w-none pb-4 md:pb-6 lg:pb-0">
|
||||
<nav wire:poll.10000ms="checkStatus" class="w-full max-w-none">
|
||||
@php
|
||||
$serviceStatus = str($service->status ?? 'exited');
|
||||
$selectedResourceUuid = data_get($parameters, 'stack_service_uuid');
|
||||
|
||||
Reference in New Issue
Block a user