Fix alignment of wiki top area
This commit is contained in:
parent
04dba0e5f8
commit
ae6591081a
2 changed files with 5 additions and 1 deletions
|
@ -101,6 +101,10 @@
|
|||
width: 50%;
|
||||
line-height: 28px;
|
||||
|
||||
&.wiki-page {
|
||||
padding: 16px 10px 11px;
|
||||
}
|
||||
|
||||
/* Small devices (phones, tablets, 768px and lower) */
|
||||
@media (max-width: $screen-sm-min) {
|
||||
width: 100%;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
= render 'nav'
|
||||
|
||||
.top-area
|
||||
.nav-text
|
||||
.nav-text.wiki-page
|
||||
%strong
|
||||
- if @page.persisted?
|
||||
= link_to @page.title.capitalize, namespace_project_wiki_path(@project.namespace, @project, @page)
|
||||
|
|
Loading…
Reference in a new issue