From 2a741823979f8a579be815469f76f6a4e96a3a10 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 17 Jun 2020 11:58:55 +0300 Subject: [PATCH] Use block for input icons, brings FF support --- src/components/inputtext/InputText.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/inputtext/InputText.css b/src/components/inputtext/InputText.css index 00fbfec58..3430e1aad 100755 --- a/src/components/inputtext/InputText.css +++ b/src/components/inputtext/InputText.css @@ -57,6 +57,7 @@ .p-input-icon-left, .p-input-icon-right { position: relative; + display: inline-block; } .p-input-icon-left > i, @@ -64,4 +65,10 @@ position: absolute; top: 50%; margin-top: -.5rem; +} + +.p-fluid .p-input-icon-left, +.p-fluid .p-input-icon-right { + display: block; + width: 100%; } \ No newline at end of file