Browse Source

企业切换文字太多省略显示。

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@7630 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
ouxianqin 9 years ago
parent
commit
d45f7f1a65
1 changed files with 9 additions and 2 deletions
  1. 9 2
      src/main/webapp/resources/tpl/index/home/left.html

+ 9 - 2
src/main/webapp/resources/tpl/index/home/left.html

@@ -39,7 +39,14 @@
 	}
 	}
 	.feed-wrap .detail>li.grey{
 	.feed-wrap .detail>li.grey{
 		line-height: 100px;
 		line-height: 100px;
-		text-align: center;
+	}
+	.textMore{
+		white-space: nowrap;
+		overflow: hidden;
+		text-overflow: ellipsis;
+		display: block;
+		width: 90%;
+		float: left;
 	}
 	}
 </style>
 </style>
 <div class="user">
 <div class="user">
@@ -49,7 +56,7 @@
 			<ul class="change-ul ">
 			<ul class="change-ul ">
 				<li>
 				<li>
 					<li class="dropdown-submenu">
 					<li class="dropdown-submenu">
-					<a style="font-size: 14px; font-family: 'Microsoft YaHei', 'Hiragino Sans GB'; text-decoration: none;" ui-sref="approvalflow.enterprise">{{userInfo.enterprise.enName}}
+					<a style="font-size: 14px; font-family: 'Microsoft YaHei', 'Hiragino Sans GB'; text-decoration: none;" ui-sref="approvalflow.enterprise"><span class="textMore">{{userInfo.enterprise.enName}}</span>
 						<i class="fa fa-angle-double-right" ng-if="userInfo.enSelect"></i></a>
 						<i class="fa fa-angle-double-right" ng-if="userInfo.enSelect"></i></a>
 						<ul class="dropdown-menu" ng-if="userInfo.enSelect" id="change-company">
 						<ul class="dropdown-menu" ng-if="userInfo.enSelect" id="change-company">
 							<li class="text-muted text-bold">切换企业</li>
 							<li class="text-muted text-bold">切换企业</li>