Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
6947d3c0
Commit
6947d3c0
authored
Jul 05, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Truncate header title
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
87eda15b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+5
-8
No files found.
app/assets/stylesheets/sections/header.scss
View file @
6947d3c0
...
@@ -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
:
40
0px
;
width
:
33
0px
;
}
}
}
}
...
@@ -262,7 +259,7 @@ header {
...
@@ -262,7 +259,7 @@ header {
.search
.search-input
{
.search
.search-input
{
width
:
200px
;
width
:
200px
;
&
:focus
{
&
:focus
{
width
:
30
0px
;
width
:
23
0px
;
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment