Commit b9e1bb29 authored by Stan Hu's avatar Stan Hu

Merge branch 'ce-to-ee-2018-05-11' into 'master'

CE upstream - 2018-05-11 00:23 UTC

See merge request gitlab-org/gitlab-ee!5666
parents a8ab66c3 fe3e6ee8
...@@ -17,6 +17,16 @@ ...@@ -17,6 +17,16 @@
*/ */
@mixin markdown-table { @mixin markdown-table {
width: auto; width: auto;
display: inline-block;
overflow-x: auto;
border-left: 0;
border-right: 0;
border-bottom: 0;
@supports(width: fit-content) {
display: block;
width: fit-content;
}
} }
/* /*
......
...@@ -180,11 +180,6 @@ ul.wiki-pages-list.content-list { ...@@ -180,11 +180,6 @@ ul.wiki-pages-list.content-list {
} }
} }
.wiki-holder {
overflow-x: auto;
overflow-y: hidden;
}
.wiki { .wiki {
table { table {
@include markdown-table; @include markdown-table;
......
- if @wiki_home.present? - if @wiki_home.present?
%div{ class: container_class } %div{ class: container_class }
.wiki-holder.prepend-top-default.append-bottom-default .prepend-top-default.append-bottom-default
.wiki .wiki
= render_wiki_content(@wiki_home) = render_wiki_content(@wiki_home)
- else - else
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
- history_link = link_to s_("WikiHistoricalPage|history"), project_wiki_history_path(@project, @page) - history_link = link_to s_("WikiHistoricalPage|history"), project_wiki_history_path(@project, @page)
= (s_("WikiHistoricalPage|You can view the %{most_recent_link} or browse the %{history_link}.") % { most_recent_link: most_recent_link, history_link: history_link }).html_safe = (s_("WikiHistoricalPage|You can view the %{most_recent_link} or browse the %{history_link}.") % { most_recent_link: most_recent_link, history_link: history_link }).html_safe
.wiki-holder.prepend-top-default.append-bottom-default .prepend-top-default.append-bottom-default
.wiki .wiki
= render_wiki_content(@page) = render_wiki_content(@page)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment