Skip to content

Commit

Permalink
Added headers to the FAQ questions
Browse files Browse the repository at this point in the history
Signed-off-by: Travis Beckham <[email protected]>
  • Loading branch information
travisbeckham committed Nov 1, 2024
1 parent 47cf7dd commit 204d5b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion linkerd.io/assets/scss/components/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@
&:hover {
color: $link-color;
}
> * {
margin-bottom: 0;
}
}
&[open] summary {
margin-bottom: spacer(3);
margin-bottom: spacer(4);
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" fill="%238399ac" /></svg>');
}
}
Expand Down
6 changes: 5 additions & 1 deletion linkerd.io/layouts/community/ambassadors-apply.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ <h2>
<div class="accordion">
{{ range .content }}
<details>
<summary>{{ .title }}</summary>
<summary>
<h4>
{{ .title }}
</h4>
</summary>
{{ .content | $.Page.RenderString (dict "display" "block") }}
</details>
{{ end }}
Expand Down

0 comments on commit 204d5b0

Please sign in to comment.