From 13dd5820b3aded93942b10cb4c7b96492f12e49e Mon Sep 17 00:00:00 2001 From: mertsincan Date: Fri, 10 Sep 2021 11:07:52 +0300 Subject: [PATCH] Fixed #1534 - Checkbox causes layout issues when used inside an overflow: auto div --- src/components/checkbox/Checkbox.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/checkbox/Checkbox.css b/src/components/checkbox/Checkbox.css index aa7995d3d..3b85c8155 100755 --- a/src/components/checkbox/Checkbox.css +++ b/src/components/checkbox/Checkbox.css @@ -3,10 +3,11 @@ cursor: pointer; user-select: none; vertical-align: bottom; + position: relative; } .p-checkbox-box { display: flex; justify-content: center; align-items: center; -} \ No newline at end of file +}