Skip to content

Commit

Permalink
Merge pull request #2803 from Akshat55/issue.2774
Browse files Browse the repository at this point in the history
docs: Add privacy policy footer
  • Loading branch information
zvonimirfras authored Mar 1, 2024
2 parents 32c68f3 + c182abb commit 703e6a3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .storybook/manager-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
<meta name="twitter:image" content="https://angular.carbondesignsystem.com/carbon.jpg">
<meta name="twitter:card" content="summary_large_image">

<footer>
<dds-footer-container key="footer" disable-locale-button="true" size="micro" />
</footer>

<script
key="8"
type="module"
src="https://1.www.s81c.com/common/carbon-for-ibm-dotcom/tag/v1/latest/footer.min.js">
</script>

<!-- Storybook override -->
<script>
document.title = "Carbon Components Angular";
Expand All @@ -26,3 +36,20 @@
send_page_view: false
});
</script>

<style>
footer {
position: absolute;
bottom: 0;
width: 100%;
z-index: 9999;
}

#root > div {
/*
* Subtracting the height of the footer to prevent
* overlaying the footer ontop of content
*/
height: calc(100vh - 48px);
}
</style>

0 comments on commit 703e6a3

Please sign in to comment.