From 425f5c047b374b0744d48457c056c8ea7cc136c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yi=C4=9Fit=20FINDIKLI?= Date: Sun, 23 Dec 2018 14:39:39 +0300 Subject: [PATCH] fixed #5560 Floating label support for textArea Fixed for textArea --- src/app/components/inputtextarea/inputtextarea.css | 5 +++++ .../components/inputtextarea/inputtextareademo.html | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/app/components/inputtextarea/inputtextarea.css b/src/app/components/inputtextarea/inputtextarea.css index be2dbebf0ba..85fa7f2f215 100644 --- a/src/app/components/inputtextarea/inputtextarea.css +++ b/src/app/components/inputtextarea/inputtextarea.css @@ -12,4 +12,9 @@ .ui-float-label textarea:-webkit-autofill ~ label { top:-.75em; font-size:12px; +} + +.ui-float-label > textarea ~ label { + left: .25em; + top: .75em; } \ No newline at end of file diff --git a/src/app/showcase/components/inputtextarea/inputtextareademo.html b/src/app/showcase/components/inputtextarea/inputtextareademo.html index c5742d1189c..070a2fd4f1c 100644 --- a/src/app/showcase/components/inputtextarea/inputtextareademo.html +++ b/src/app/showcase/components/inputtextarea/inputtextareademo.html @@ -9,6 +9,12 @@

Default

+

Float Label

+ + + + +

AutoResize