mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-26 12:35:32 +00:00
Add side margins if screen is too wide
This commit is contained in:
parent
4a818ac785
commit
e9bf788bd5
13
doc/_templates/layout.html
vendored
13
doc/_templates/layout.html
vendored
@ -1,18 +1,5 @@
|
||||
{% extends "!layout.html" %}
|
||||
|
||||
{%- block content %}
|
||||
{{ navBar() }}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{%- block sidebar1 %}{{ bsidebar() }}{% endblock %}
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
{% block sidebar2 %} {# possible location for sidebar #} {% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
{%- endblock %}
|
||||
|
||||
{% block footer %}
|
||||
{{ super() }}
|
||||
<!-- Google Analytics -->
|
||||
|
@ -107,7 +107,7 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{%- block sidebar1 %}{{ bsidebar() }}{% endblock %}
|
||||
<div class="{{ bs_span_prefix }}{{ bs_content_width }}">
|
||||
<div class="col-md-8 col-md-offset-2 content {{ bs_span_prefix }}{{ bs_content_width }}">
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
{% block sidebar2 %} {# possible location for sidebar #} {% endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user