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
Kazuhiko Shiozaki
gitlab-ce
Commits
a74dfa6e
Commit
a74dfa6e
authored
Jun 01, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix header overflow for big title
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
e7e07fab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
23 deletions
+6
-23
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+1
-1
app/assets/stylesheets/generic/header.scss
app/assets/stylesheets/generic/header.scss
+5
-22
No files found.
app/assets/stylesheets/generic/common.scss
View file @
a74dfa6e
...
@@ -307,7 +307,7 @@ table {
...
@@ -307,7 +307,7 @@ table {
}
}
.btn-sign-in
{
.btn-sign-in
{
margin-top
:
5
px
;
margin-top
:
7
px
;
text-shadow
:
none
;
text-shadow
:
none
;
}
}
...
...
app/assets/stylesheets/generic/header.scss
View file @
a74dfa6e
...
@@ -97,7 +97,6 @@ header {
...
@@ -97,7 +97,6 @@ header {
border-bottom
:
1px
solid
#EEE
;
border-bottom
:
1px
solid
#EEE
;
padding-right
:
35px
;
padding-right
:
35px
;
height
:
$header-height
;
height
:
$header-height
;
overflow
:
hidden
;
.title
{
.title
{
position
:
relative
;
position
:
relative
;
...
@@ -131,6 +130,7 @@ header {
...
@@ -131,6 +130,7 @@ header {
}
}
.search-input
{
.search-input
{
width
:
220px
;
background-image
:
image-url
(
"icon-search.png"
);
background-image
:
image-url
(
"icon-search.png"
);
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-position
:
10px
;
background-position
:
10px
;
...
@@ -151,10 +151,6 @@ header {
...
@@ -151,10 +151,6 @@ header {
}
}
}
}
.search
.search-input
{
width
:
300px
;
}
@mixin
collapsed-header
{
@mixin
collapsed-header
{
.header-logo
{
.header-logo
{
width
:
$sidebar_collapsed_width
;
width
:
$sidebar_collapsed_width
;
...
@@ -171,19 +167,11 @@ header {
...
@@ -171,19 +167,11 @@ header {
}
}
}
}
@media
(
max-width
:
1200px
)
{
@media
(
max-width
:
$screen-md-max
)
{
.search
.search-input
{
header
.container
.title
{
width
:
200px
;
max-width
:
43%
;
}
}
@media
(
max-width
:
$screen-xs-max
)
{
#nprogress
.spinner
{
right
:
35px
!
important
;
}
}
}
@media
(
max-width
:
$screen-md-max
)
{
.header-collapsed
,
.header-expanded
{
.header-collapsed
,
.header-expanded
{
@include
collapsed-header
;
@include
collapsed-header
;
}
}
...
@@ -200,15 +188,10 @@ header {
...
@@ -200,15 +188,10 @@ header {
@media
(
max-width
:
$screen-xs-max
)
{
@media
(
max-width
:
$screen-xs-max
)
{
header
.container
{
header
.container
{
border-width
:
0
;
font-size
:
18px
;
font-size
:
18px
;
.title
{
.title
{
@include
str-truncated
(
70%
);
max-width
:
70%
;
}
.navbar-collapse
{
margin-top
:
47px
;
}
}
.navbar-nav
{
.navbar-nav
{
...
...
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