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
Boxiang Sun
gitlab-ce
Commits
d0cfa465
Commit
d0cfa465
authored
Sep 02, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid horizontal scroll in sidebar
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
c5786649
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
6 deletions
+16
-6
app/assets/stylesheets/generic/sidebar.scss
app/assets/stylesheets/generic/sidebar.scss
+15
-5
app/assets/stylesheets/themes/gitlab-theme.scss
app/assets/stylesheets/themes/gitlab-theme.scss
+1
-1
No files found.
app/assets/stylesheets/generic/sidebar.scss
View file @
d0cfa465
...
@@ -118,21 +118,31 @@
...
@@ -118,21 +118,31 @@
}
}
@mixin
folded-sidebar
{
@mixin
folded-sidebar
{
padding-left
:
5
0px
;
padding-left
:
6
0px
;
transition-duration
:
.3s
;
transition-duration
:
.3s
;
.sidebar-wrapper
{
.sidebar-wrapper
{
width
:
$sidebar_collapsed_width
;
width
:
$sidebar_collapsed_width
;
.header-logo
a
{
.header-logo
{
padding-left
:
7px
;
width
:
$sidebar_collapsed_width
;
a
{
padding-left
:
7px
;
.gitlab-text-container
{
display
:
none
;
}
}
}
}
.nav-sidebar
{
.nav-sidebar
{
width
:
$sidebar_collapsed_width
;
width
:
$sidebar_collapsed_width
;
li
a
i
{
li
a
{
margin-right
:
20px
;
span
{
display
:
none
;
}
}
}
}
}
...
...
app/assets/stylesheets/themes/gitlab-theme.scss
View file @
d0cfa465
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
.page-with-sidebar
{
.page-with-sidebar
{
.header-logo
{
.header-logo
{
background-color
:
$color
;
background-color
:
$color
;
border-color
:
$color
-darker
;
border-color
:
$color
;
a
{
a
{
color
:
$color-light
;
color
:
$color-light
;
...
...
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