Pārlūkot izejas kodu

Customers portal : Fixed css glitch on portal instances menu

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4274 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 9 gadi atpakaļ
vecāks
revīzija
6a7a46ab20

+ 1 - 1
datamodels/2.x/itop-portal-base/portal/src/views/layout.html.twig

@@ -184,7 +184,7 @@
 							{% for aPortal in app['combodo.portal.instance.conf'].portals %}
 								{% if aPortal.id != app['combodo.portal.instance.conf'].properties.id %}
 									{% set sGlyphiconClass = (aPortal.id == 'backoffice') ? 'fa-list-alt' : 'fa-external-link' %}
-									<li><a href="{{ aPortal.url }}" target="_blank"><span class="brick_icon fa {{ sGlyphiconClass }} fa-lg fa-fw"></span>{{ aPortal.label|dict_s }}</a></li>
+									<li><a href="{{ aPortal.url }}" target="_blank" title="{{ aPortal.label|dict_s }}"><span class="brick_icon fa {{ sGlyphiconClass }} fa-lg fa-fw"></span>{{ aPortal.label|dict_s }}</a></li>
 								{% endif %}
 							{% endfor %}
 							{# We display the separator only if the user has more then 1 portal. Meaning default portal + console or several portal at least #}

+ 3 - 1
datamodels/2.x/itop-portal-base/portal/web/css/bootstrap-theme-combodo.scss

@@ -2648,7 +2648,9 @@ tbody.collapse.in {
     font-weight: normal;
     line-height: $line-height-base;
     color: #444444;
-    white-space: nowrap
+    white-space: nowrap;
+	overflow-x: hidden;
+	text-overflow: ellipsis;
 }
 .dropdown-menu>li>a:hover,
 .dropdown-menu>li>a:focus {