mirror of
https://github.com/rvtr/wiki.git
synced 2025-06-18 11:05:39 -04:00
Improve table and inline code on mobile
This commit is contained in:
parent
4eaae4e884
commit
0e01415ec8
@ -53,8 +53,9 @@ layout: compress
|
||||
<h1 class="mb-1">{{ page.long_title | default: page.title }}</h1>
|
||||
<hr class="mt-0">
|
||||
{% if page.layout == "faq" %}
|
||||
{{ content }}
|
||||
{{ content | replace: "<table>", '<div class="table-responsive"><table class="table">' | replace: "</table>", "</table></div>" }}
|
||||
{% else %}
|
||||
{% assign content = content | replace: "<table>", '<div class="table-responsive"><table class="table">' | replace: "</table>", "</table></div>" %}
|
||||
{% include anchor-headings.html html=content anchorBody="<small>#</small>" anchorClass="header-anchor" %}
|
||||
{% endif %}
|
||||
<div class="alert alert-secondary small-alert" role="alert">
|
||||
|
@ -45,7 +45,12 @@ blockquote {
|
||||
|
||||
&:not(.wrap) {
|
||||
white-space: nowrap;
|
||||
|
||||
@media screen and (max-width: 576px) {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
pre {
|
||||
|
Loading…
Reference in New Issue
Block a user