Commit 6947d3c0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Truncate header title

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 87eda15b
...@@ -53,13 +53,9 @@ header { ...@@ -53,13 +53,9 @@ header {
font-size: 18px; font-size: 18px;
.app_logo { margin-left: -15px; } .app_logo { margin-left: -15px; }
.title { .title {
display: inline-block; @include str-truncated(70%);
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top;
white-space: nowrap;
max-width: 70%;
} }
.navbar-collapse { .navbar-collapse {
...@@ -130,6 +126,7 @@ header { ...@@ -130,6 +126,7 @@ header {
margin: 0; margin: 0;
margin-left: 5px; margin-left: 5px;
@include header-font; @include header-font;
@include str-truncated(37%);
} }
.profile-pic { .profile-pic {
...@@ -254,7 +251,7 @@ header { ...@@ -254,7 +251,7 @@ header {
.search .search-input { .search .search-input {
width: 300px; width: 300px;
&:focus { &:focus {
width: 400px; width: 330px;
} }
} }
...@@ -262,7 +259,7 @@ header { ...@@ -262,7 +259,7 @@ header {
.search .search-input { .search .search-input {
width: 200px; width: 200px;
&:focus { &:focus {
width: 300px; width: 230px;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment