Skip to content
Snippets Groups Projects
Commit d8209aeb authored by Nicolas Koenig's avatar Nicolas Koenig
Browse files

Fix layout issue in header title truncation.

parent 5fa02489
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -98,16 +98,16 @@ header {
height: $header-height;
 
.title {
position: relative;
float: left;
margin: 0;
margin-left: 35px;
padding: 0 15px 0 35px;
overflow: hidden;
font-size: 18px;
line-height: $header-height;
font-weight: bold;
color: #444;
@include str-truncated(37%);
text-overflow: ellipsis;
vertical-align: top;
white-space: nowrap;
 
a {
color: #444;
Loading
Loading
@@ -116,6 +116,10 @@ header {
}
}
}
.navbar-collapse {
float: right;
}
}
 
.search {
Loading
Loading
@@ -167,10 +171,6 @@ header {
}
 
@media (max-width: $screen-md-max) {
header .container .title {
max-width: 43%;
}
.header-collapsed, .header-expanded {
@include collapsed-header;
}
Loading
Loading
@@ -190,7 +190,6 @@ header {
font-size: 18px;
 
.title {
max-width: 70%;
}
 
.navbar-nav {
Loading
Loading
Loading
Loading
@@ -61,8 +61,7 @@
}
 
.container .title {
margin-left: 15px !important;
max-width: 70% !important;
padding-left: 15px !important;
}
 
.issue-info, .merge-request-info {
Loading
Loading
Loading
Loading
@@ -5,9 +5,6 @@
= brand_header_logo
%h3 GitLab
.header-content
%h1.title
= title
%button.navbar-toggle
%span.sr-only Toggle navigation
= icon('bars')
Loading
Loading
@@ -43,4 +40,6 @@
= link_to destroy_user_session_path, class: 'logout', method: :delete, title: 'Sign out', data: {toggle: 'tooltip', placement: 'bottom'} do
= icon('sign-out')
 
%h1.title= title
= render 'shared/outdated_browser'
Loading
Loading
@@ -5,10 +5,10 @@
= brand_header_logo
%h3 GitLab
.header-content
%h1.title= title
- unless current_controller?('sessions')
.pull-right
= link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-success btn-sm'
 
%h1.title= title
= render 'shared/outdated_browser'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment