KYLIN-1247 set text-overflow for input[placeholder]

Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/04bf1970
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/04bf1970
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/04bf1970

Branch: refs/heads/1.x-HBase1.1.3
Commit: 04bf19709f43430fe2a37bdb069b0212105685fc
Parents: aa8bdde
Author: janzhongi <[email protected]>
Authored: Thu Feb 25 18:18:07 2016 +0800
Committer: janzhongi <[email protected]>
Committed: Thu Feb 25 18:18:38 2016 +0800

----------------------------------------------------------------------
 webapp/app/less/app.less | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/04bf1970/webapp/app/less/app.less
----------------------------------------------------------------------
diff --git a/webapp/app/less/app.less b/webapp/app/less/app.less
index 5f8e941..19ff71b 100644
--- a/webapp/app/less/app.less
+++ b/webapp/app/less/app.less
@@ -630,3 +630,15 @@ ul.messenger .messenger-message-inner 
,.ngCellText,.tree-label,.tree-leaf{
 .chosen-container .chosen-results li.active-result{
   word-break: break-all;
 }
+input[placeholder] {
+  text-overflow: ellipsis;
+}
+
+::-moz-placeholder {
+  text-overflow: ellipsis;
+}
+
+/* firefox 19+ */
+input:-moz-placeholder {
+  text-overflow: ellipsis;
+}

Reply via email to