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
e66fa410
Commit
e66fa410
authored
Dec 19, 2016
by
Alex Braha Stoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve style of wiki page lists
parent
f25344e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
app/assets/stylesheets/pages/wiki.scss
app/assets/stylesheets/pages/wiki.scss
+16
-0
app/views/projects/wikis/pages.html.haml
app/views/projects/wikis/pages.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/wiki.scss
View file @
e66fa410
...
...
@@ -130,6 +130,10 @@
margin
:
5px
0
10px
;
}
ul
.wiki-pages
ul
{
padding-left
:
15px
;
}
.wiki-sidebar-header
{
padding
:
0
$gl-padding
$gl-padding
;
...
...
@@ -138,3 +142,15 @@
}
}
}
ul
.wiki-pages-list.content-list
{
&
ul
{
list-style
:
none
;
margin-left
:
0
;
padding-left
:
15px
;
}
&
ul
li
{
padding
:
5px
0
;
}
}
app/views/projects/wikis/pages.html.haml
View file @
e66fa410
...
...
@@ -13,7 +13,7 @@
=
icon
(
'cloud-download'
)
Clone repository
%ul
.content-list
%ul
.
wiki-pages-list.
content-list
-
@wiki_directories
.
each
do
|
wiki_directory
,
wiki_pages
|
-
if
wiki_directory
==
'/'
=
render
'wiki_pages'
,
wiki_pages:
wiki_pages
...
...
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