css: hide check input-area when read-only to remove duplicate toggle

Our Check-field input-area override had higher specificity than Frappe's
.hide (.d-none), so submitted/read-only forms rendered both the real
input and the disp-area's formatted checkbox.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ali 2026-05-15 15:05:48 +00:00
parent 98e13585c0
commit 26d827148a
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ input.list-header-checkbox:checked::after {
align-items: center !important;
}
.frappe-control[data-fieldtype="Check"] .checkbox .input-area {
.frappe-control[data-fieldtype="Check"] .checkbox .input-area:not(.hide) {
padding-top: 0 !important;
display: flex !important;
align-items: center !important;