File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
site/src/content/docs/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Smooth scrolling does not depend on this component. It’s turned on only when t
3535 </nav >
3636</div >
3737
38- <Example showPreview = " false" code = { ` <nav aria-label="Back to top" class="back-to-top">
38+ <Example showPreview = { false } code = { ` <nav aria-label="Back to top" class="back-to-top">
3939 <a href="#top" class="back-to-top-link btn btn-icon btn-outline-secondary" data-bs-label="Back to top">
4040 <span class="visually-hidden">Back to top</span>
4141 </a>
@@ -52,7 +52,7 @@ You may use another `id`, but if you’re using a fixed header you’ll need to
5252
5353Add ` .position-fixed ` utility to your ` .back-to-top-link ` to make your back-to-top link persistent.
5454
55- <Example showPreview = " false" code = { ` <nav aria-label="Fixed back to top example" class="back-to-top">
55+ <Example showPreview = { false } code = { ` <nav aria-label="Fixed back to top example" class="back-to-top">
5656 <a href="#top" class="back-to-top-link position-fixed btn btn-icon btn-outline-secondary" data-bs-label="Back to top">
5757 <span class="visually-hidden">Back to top</span>
5858 </a>
@@ -69,7 +69,7 @@ Use a `title` attribute instead of `data-bs-label` to ensure a visible label is
6969 </a >
7070 </nav >
7171</div >
72- <Example showPreview = " false" code = { ` <nav aria-label="Back to top" class="back-to-top">
72+ <Example showPreview = { false } code = { ` <nav aria-label="Back to top" class="back-to-top">
7373 <a href="#top" class="back-to-top-link btn btn-icon btn-outline-secondary" title="Back to top">
7474 <span class="visually-hidden">Back to top</span>
7575 </a>
You can’t perform that action at this time.
0 commit comments