From 7c43b964561375595c99882c5ef8d3b4646a8afd Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 13 May 2020 00:53:37 +0300 Subject: [PATCH] Fixed splitbutton bordering --- src/components/button/Button.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/button/Button.css b/src/components/button/Button.css index 25057f1e3..1bfd75a0f 100755 --- a/src/components/button/Button.css +++ b/src/components/button/Button.css @@ -41,16 +41,16 @@ margin: 0; } -.p-buttonset .p-button:not(:first-child):not(:last-child) { +.p-buttonset .p-button:not(:first-of-type):not(:last-of-type) { border-radius: 0; } -.p-buttonset .p-button:first-child { +.p-buttonset .p-button:first-of-type { border-top-right-radius: 0; border-bottom-right-radius: 0; } -.p-buttonset .p-button:last-child { +.p-buttonset .p-button:last-of-type { border-top-left-radius: 0; border-bottom-left-radius: 0; }