Skip to content

Commit

Permalink
Small fix to guide styling (#8605)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliabd authored Jun 25, 2024
1 parent ca125b7 commit fe83e64
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-bags-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"website": minor
---

feat:Small fix to guide styling
22 changes: 12 additions & 10 deletions js/_website/src/routes/[[version]]/guides/[guide]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,18 @@
href="..{guide.url}">{guide.pretty_name}</a
>

<div
class="navigation max-w-full bg-gradient-to-r from-orange-50 to-orange-100 p-2 mx-2 border-l-2 border-orange-500 mb-2"
>
{#each guide_slug as heading}
<a
class="subheading block thin-link -indent-2 ml-4 mr-2"
href={heading.href}>{heading.text}</a
>
{/each}
</div>
{#if guide_slug.length > 0}
<div
class="navigation max-w-full bg-gradient-to-r from-orange-50 to-orange-100 p-2 mx-2 border-l-2 border-orange-500 mb-2"
>
{#each guide_slug as heading}
<a
class="subheading block thin-link -indent-2 ml-4 mr-2"
href={heading.href}>{heading.text}</a
>
{/each}
</div>
{/if}
{:else}
<a
class:hidden={!show_all &&
Expand Down

0 comments on commit fe83e64

Please sign in to comment.