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
Tatuya Kamada
gitlab-ce
Commits
580cedd7
Commit
580cedd7
authored
Nov 19, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix header and project home ui for mobile
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
e65866d4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
app/assets/stylesheets/sections/header.scss
app/assets/stylesheets/sections/header.scss
+1
-0
app/assets/stylesheets/sections/nav.scss
app/assets/stylesheets/sections/nav.scss
+1
-1
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+13
-0
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+1
-1
No files found.
app/assets/stylesheets/sections/header.scss
View file @
580cedd7
...
@@ -59,6 +59,7 @@ header {
...
@@ -59,6 +59,7 @@ header {
}
}
.navbar-collapse
{
.navbar-collapse
{
margin-top
:
47px
;
padding-right
:
0
;
padding-right
:
0
;
padding-left
:
0
;
padding-left
:
0
;
}
}
...
...
app/assets/stylesheets/sections/nav.scss
View file @
580cedd7
...
@@ -63,7 +63,6 @@
...
@@ -63,7 +63,6 @@
@media
(
max-width
:
$screen-xs-max
)
{
@media
(
max-width
:
$screen-xs-max
)
{
font-size
:
18px
;
font-size
:
18px
;
margin
:
0
;
margin
:
0
;
max-height
:
none
;
max-height
:
none
;
&
,
.container
{
&
,
.container
{
...
@@ -86,6 +85,7 @@
...
@@ -86,6 +85,7 @@
color
:
#fff
;
color
:
#fff
;
font-weight
:
normal
;
font-weight
:
normal
;
text-shadow
:
none
;
text-shadow
:
none
;
border
:
none
;
&
:after
{
display
:
none
;
}
&
:after
{
display
:
none
;
}
}
}
...
...
app/assets/stylesheets/sections/projects.scss
View file @
580cedd7
...
@@ -295,3 +295,16 @@ ul.nav.nav-projects-tabs {
...
@@ -295,3 +295,16 @@ ul.nav.nav-projects-tabs {
}
}
}
}
}
}
@media
(
max-width
:
$screen-xs-max
)
{
.project-home-panel
{
.star-fork-buttons
{
padding-top
:
10px
;
padding-right
:
15px
;
}
}
.project-home-links
{
display
:
none
;
}
}
app/views/projects/_home_panel.html.haml
View file @
580cedd7
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
-
else
-
else
=
link_to_toggle_star
(
'You must sign in to star a project.'
,
false
,
false
)
=
link_to_toggle_star
(
'You must sign in to star a project.'
,
false
,
false
)
.project-home-row
.project-home-row
.hidden-xs
-
if
current_user
&&
!
empty_repo
-
if
current_user
&&
!
empty_repo
.project-home-dropdown
.project-home-dropdown
=
render
"dropdown"
=
render
"dropdown"
...
...
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