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:
parent
98e13585c0
commit
26d827148a
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue