Skip to content

Commit

Permalink
Add missing centered CSS class
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 26, 2023
1 parent ce770c2 commit a2196a6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/crate/build_details.html
Expand Up @@ -5,6 +5,10 @@
{{ macros::doc_title(name=metadata.name, version=metadata.version) }}
{%- endblock title -%}

{%- block body_classes -%}
centered
{%- endblock body_classes -%}

{%- block topbar -%}
{%- set latest_version = "" -%}
{%- set latest_path = "" -%}
Expand Down
4 changes: 4 additions & 0 deletions templates/crate/builds.html
Expand Up @@ -9,6 +9,10 @@
<link rel="canonical" href="{{ canonical_url | safe }}" />
{%- endblock -%}

{%- block body_classes -%}
centered
{%- endblock body_classes -%}

{%- block topbar -%}
{%- set latest_version = "" -%}
{%- set latest_path = "" -%}
Expand Down
4 changes: 4 additions & 0 deletions templates/crate/details.html
Expand Up @@ -9,6 +9,10 @@
<link rel="canonical" href="https://docs.rs/crate/{{ details.name }}/latest" />
{%- endblock meta -%}

{%- block body_classes -%}
centered
{%- endblock body_classes -%}

{%- block topbar -%}
{%- set metadata = details.metadata -%}
{%- set latest_version = "" -%}
Expand Down
4 changes: 4 additions & 0 deletions templates/crate/features.html
Expand Up @@ -9,6 +9,10 @@
<link rel="canonical" href="{{ canonical_url | safe }}" />
{%- endblock -%}

{%- block body_classes -%}
centered
{%- endblock body_classes -%}

{%- block topbar -%}
{%- set latest_version = "" -%}
{%- set latest_path = "" -%}
Expand Down
4 changes: 4 additions & 0 deletions templates/releases/releases.html
Expand Up @@ -15,6 +15,10 @@
}}
{%- endblock header -%}

{%- block body_classes -%}
centered
{%- endblock body_classes -%}

{%- block body -%}
<div class="container">
<div class="recent-releases-container">
Expand Down

0 comments on commit a2196a6

Please sign in to comment.