From 0085b0daca733d46abd42d94ba558215418493c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 1 Jul 2022 16:05:16 +0300 Subject: [PATCH] Fixed #2745 - Checkbox, RadioButton: should not pointer cursor when is disabled --- src/components/checkbox/Checkbox.css | 4 ++++ src/components/radiobutton/RadioButton.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/components/checkbox/Checkbox.css b/src/components/checkbox/Checkbox.css index 3b85c8155..12547a4b6 100755 --- a/src/components/checkbox/Checkbox.css +++ b/src/components/checkbox/Checkbox.css @@ -6,6 +6,10 @@ position: relative; } +.p-checkbox.p-checkbox-disabled { + cursor: default; +} + .p-checkbox-box { display: flex; justify-content: center; diff --git a/src/components/radiobutton/RadioButton.css b/src/components/radiobutton/RadioButton.css index 224316841..7125d8cdb 100755 --- a/src/components/radiobutton/RadioButton.css +++ b/src/components/radiobutton/RadioButton.css @@ -5,6 +5,10 @@ vertical-align: bottom; } +.p-radiobutton.p-radiobutton-disabled { + cursor: default; +} + .p-radiobutton-box { display: flex; justify-content: center;