Fix eye button not showing after opacity transition change

- Remove inline display:none from HTML (was overriding opacity)
- Set initial pointer-events:none in CSS to prevent blocking clicks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Anton Volnuhin 2026-01-30 18:51:55 +03:00
parent 30c2d1db98
commit ecd04ee4a9
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
</div>
<div class="content-wrapper">
<div id="chart-container"></div>
<button id="chart-eye-btn" class="chart-eye-btn" style="display: none;" title="View transactions">
<button id="chart-eye-btn" class="chart-eye-btn" title="View transactions">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5">
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/>
<circle cx="12" cy="12" r="3"/>

View File

@ -357,7 +357,7 @@ body {
filter: drop-shadow(0 0 2px rgba(255, 255, 255, 1)) drop-shadow(0 0 3px rgba(255, 255, 255, 1)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
transition: filter 0.15s, opacity 0.2s ease-out;
color: #111;
pointer-events: auto;
pointer-events: none;
opacity: 0;
}