From 1979fa9b75221178bbc7d772dd803bfd124f0b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merve=20=C3=96z=C3=A7if=C3=A7i?= Date: Tue, 5 Feb 2019 11:40:39 +0300 Subject: [PATCH] Fixed #761 - InputGroup border issue for using with other components --- src/components/inputtext/InputText.css | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/components/inputtext/InputText.css b/src/components/inputtext/InputText.css index c93de59cb7..3b43cad8de 100644 --- a/src/components/inputtext/InputText.css +++ b/src/components/inputtext/InputText.css @@ -35,13 +35,32 @@ padding-left: .5em; } -.p-inputgroup .p-inputtext:not(:first-child) { +.p-inputgroup > .p-inputtext:not(:first-child), +.p-inputgroup > .p-inputtextarea:not(:first-child), +.p-inputgroup > .p-calendar:not(:first-child) > .p-inputtext, +.p-inputgroup > .p-chips:not(:first-child) > .p-inputtext, +.p-inputgroup > .p-dropdown:not(:first-child), +.p-inputgroup > .p-multiselect:not(:first-child), +.p-inputgroup > .p-selectbutton:not(:first-child) > .p-button, +.p-inputgroup > .p-autocomplete:not(:first-child) > .p-autocomplete-input, +.p-inputgroup > .p-spinner:not(:first-child), +.p-inputgroup > .p-spinner:not(:first-child) > .p-spinner-input { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 0 none; } -.p-inputgroup .p-inputtext:not(:last-child) { +.p-inputgroup > .p-inputtext:not(:last-child), +.p-inputgroup > .p-inputtextarea:not(:last-child), +.p-inputgroup > .p-calendar:not(:last-child) > .p-inputtext, +.p-inputgroup > .p-chips:not(:last-child) > .p-inputtext, +.p-inputgroup > .p-dropdown:not(:last-child), +.p-inputgroup > .p-multiselect:not(:last-child), +.p-inputgroup > .p-selectbutton:not(:last-child) > .p-button, +.p-inputgroup > .p-autocomplete:not(:last-child) > .p-autocomplete-input, +.p-inputgroup > .p-spinner:not(:last-child), +.p-inputgroup > .p-spinner:not(:last-child) > .p-spinner-input, +.p-inputgroup > .p-spinner:not(:last-child) > .p-spinner-button { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0 none;