diff options
Diffstat (limited to 'vendor/twbs/bootstrap/site/_layouts/docs.html')
-rw-r--r-- | vendor/twbs/bootstrap/site/_layouts/docs.html | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/vendor/twbs/bootstrap/site/_layouts/docs.html b/vendor/twbs/bootstrap/site/_layouts/docs.html index 1d2125508..08788a254 100644 --- a/vendor/twbs/bootstrap/site/_layouts/docs.html +++ b/vendor/twbs/bootstrap/site/_layouts/docs.html @@ -10,18 +10,21 @@ <div class="container-fluid"> <div class="row flex-xl-nowrap"> - <div class="col-12 col-md-3 col-xl-2 bd-sidebar"> + <div class="col-md-3 col-xl-2 bd-sidebar"> {% include docs-sidebar.html %} </div> {% if page.toc %} - <div class="d-none d-xl-block col-xl-2 bd-toc"> + <nav class="d-none d-xl-block col-xl-2 bd-toc" aria-label="Secondary navigation"> {{ content | toc_only }} - </div> + </nav> {% endif %} - <main class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main"> - <h1 class="bd-title" id="content">{{ page.title | smartify }}</h1> + <main class="col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main"> + <div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between"> + <a class="btn btn-sm btn-bd-light my-2 my-md-0" href="{{ site.repo }}/tree/v4-dev/site/{{ page.path }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">View on GitHub</a> + <h1 class="bd-title" id="content">{{ page.title | smartify }}</h1> + </div> <p class="bd-lead">{{ page.description | smartify }}</p> {% include ads.html %} {{ content }} |