Skip to content

Commit

Permalink
Use <hr> instead of adding border-top to Migration headings
Browse files Browse the repository at this point in the history
  • Loading branch information
doup committed Dec 5, 2024
1 parent 289aea0 commit 4a02851
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
15 changes: 12 additions & 3 deletions sass/pages/_migration_guide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@
}

h3 {
margin-block: 2rem .5rem;
padding-top: 2rem;
border-top: solid rgba(#fff, 0.05) 1px;
margin-block: 2rem 0.5rem;
}

hr {
$color: rgba(#fff, 0.05);

height: 1px;
color: $color;
background: $color;
font-size: 0;
border: 0;
margin-block: 2rem;
}
}

Expand Down
3 changes: 3 additions & 0 deletions templates/shortcodes/migration_guides.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
## {{ area_name }}
{% endif %}

{% if not area_changed %}<hr>{% endif %}

### {{ guide.title }}

<ul class="migration-guide-meta">
Expand All @@ -37,4 +39,5 @@
{{ guide_body }}

{% endfor %}

</div>

0 comments on commit 4a02851

Please sign in to comment.