Browse Source

Customer portal : User name truncation when too long on mobile UI

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4147 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 9 years ago
parent
commit
65d52ebfc5
1 changed files with 7 additions and 1 deletions
  1. 7 1
      datamodels/2.x/itop-portal-base/portal/web/css/portal.css

+ 7 - 1
datamodels/2.x/itop-portal-base/portal/web/css/portal.css

@@ -67,8 +67,14 @@ footer{
 	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
 	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
 }
 }
 #topbar .user_fullname{
 #topbar .user_fullname{
-	margin-left: 85px;
+	display: inline-block;
+	position: absolute;
+	padding-left: 85px;
+	max-width: 55%;
 	color: #FFFFFF;
 	color: #FFFFFF;
+	white-space: nowrap;
+	text-overflow: ellipsis;
+	overflow-x: hidden;
 }
 }
 /* Sidebar */
 /* Sidebar */
 @media (min-width: 768px){
 @media (min-width: 768px){