Skip to content

Commit c448d38

Browse files
Xaohssvenvandescheur
authored andcommitted
🐛 - fix: fixed a bug that cause the not-allowed cursor to appear in incorrect situations
1 parent 8c1f9c1 commit c448d38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/form/formcontrol/formcontrol.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
text-decoration: none;
2424
}
2525

26-
// Makes sure that the wrapper actually has the cursor of not-allowed. Needs to be in wrapper
27-
&,
26+
// Cursor not allowed on the form control when any of its children are disabled
2827
&:has(.mykn-input:disabled),
2928
&:has(.mykn-select[aria-disabled="true"]) {
3029
cursor: not-allowed;

0 commit comments

Comments
 (0)