Render plain README using Markup viewer so it is displayed below tree
This commit is contained in:
parent
6ca5a9890c
commit
0c025624db
|
@ -139,6 +139,15 @@
|
|||
line-height: 1.6em;
|
||||
overflow-x: auto;
|
||||
border-radius: 2px;
|
||||
|
||||
|
||||
&.plain-readme {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
p > code {
|
||||
|
@ -279,14 +288,6 @@ h6 {
|
|||
/** CODE **/
|
||||
pre {
|
||||
font-family: $monospace_font;
|
||||
|
||||
&.plain-readme {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
code {
|
||||
|
|
|
@ -5,6 +5,7 @@ module BlobViewer
|
|||
|
||||
self.partial_name = 'markup'
|
||||
self.extensions = Gitlab::MarkupHelper::EXTENSIONS
|
||||
self.file_types = %i(readme)
|
||||
self.binary = false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue