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/cccba725 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/cccba725 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/cccba725 Branch: refs/heads/1.4-rc Commit: cccba7252d094d1f86f300052a8bae689979f670 Parents: e0c483e Author: janzhongi <jiazh...@ebay.com> Authored: Thu Feb 25 18:13:02 2016 +0800 Committer: janzhongi <jiazh...@ebay.com> Committed: Thu Feb 25 18:13:02 2016 +0800 ---------------------------------------------------------------------- webapp/app/less/app.less | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/cccba725/webapp/app/less/app.less ---------------------------------------------------------------------- diff --git a/webapp/app/less/app.less b/webapp/app/less/app.less index 83e7972..3eaae3a 100644 --- a/webapp/app/less/app.less +++ b/webapp/app/less/app.less @@ -679,3 +679,6 @@ ul.messenger .messenger-message-inner,.ngCellText { .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; }