Limit page title size

This commit is contained in:
Arik Fraimovich 2013-12-26 14:09:59 +02:00
parent 290ae85128
commit 9af88076e6
2 changed files with 8 additions and 1 deletions

View File

@ -33,7 +33,7 @@
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li class="active" ng-show="pageTitle"><a ng-bind="pageTitle"></a></li>
<li class="active" ng-show="pageTitle"><a class="page-title" ng-bind="pageTitle"></a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-th-large"></span> <b class="caret"></b></a>
<ul class="dropdown-menu">

View File

@ -2,6 +2,13 @@ body {
padding-top: 70px;
}
a.page-title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 400px;
}
a.navbar-brand {
font-style: italic;
}