Merge "Add style to wrap pre tag"
This commit is contained in:
commit
590f7e4d69
@ -1,5 +1,6 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<pre class="data">
|
<div class="pre_scrollable">
|
||||||
{{ namespace_contents }}
|
<pre class="data">{{ namespace_contents }}</pre>
|
||||||
</pre>
|
</div>
|
||||||
|
|
||||||
|
@ -4,4 +4,15 @@
|
|||||||
.horizontal-center {
|
.horizontal-center {
|
||||||
float: none;
|
float: none;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Used to x-scroll to Pre-formatted text.
|
||||||
|
.pre_scrollable {
|
||||||
|
display: table;
|
||||||
|
table-layout: fixed;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
pre {
|
||||||
|
word-wrap: normal;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user