fix: input validation, null guard and code comments in app.js/style.css

This commit is contained in:
Ferdinand
2026-04-01 16:12:07 +02:00
parent 331a7ed706
commit 46d5241bd4
2 changed files with 6 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ main { padding: 1.5rem; max-width: 900px; margin: 0 auto; }
.tab-content { display: none; }
.tab-content.active { display: block; }
/* --- Shared component classes (used across tabs) --- */
.color-preview {
width: 100%;
height: 80px;